messages
listlengths 1
1
| topic
stringlengths 2
60
|
|---|---|
[
{
"date": "2007-02-15",
"forum": "FiveWin for Pocket PC",
"text": "Richard,\n\n> i do not know the ascii character but i can display them it if necessary \n\nPlease place a MsgInfo() to check their asc() values, thanks",
"time": "22:06",
"topic": "Bluetooth print and Special characters",
"username": "Antonio Linares"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-15",
"forum": "FiveWin for Pocket PC",
"text": "Antonio\n\nfirst one is 233 \n\nDo you need them all ? <!-- s:x --><img src=\"{SMILIES_PATH}/icon_mad.gif\" alt=\":x\" title=\"Mad\" /><!-- s:x --> \n\nRichard",
"time": "22:17",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-15",
"forum": "FiveWin for Pocket PC",
"text": "Richard,\n\nJust two more, please",
"time": "22:34",
"topic": "Bluetooth print and Special characters",
"username": "Antonio Linares"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-15",
"forum": "FiveWin for Pocket PC",
"text": "232\n\n224",
"time": "22:37",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-15",
"forum": "FiveWin for Pocket PC",
"text": "231\n249\n176",
"time": "22:41",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-15",
"forum": "FiveWin for Pocket PC",
"text": "Richard,\n\nCharacters with ascii over 128 are printing right ? I wonder if it is a sign issue",
"time": "22:43",
"topic": "Bluetooth print and Special characters",
"username": "Antonio Linares"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-15",
"forum": "FiveWin for Pocket PC",
"text": "Antonio\n\nI do not have the printer here at home but at the office.\n\nI can check all ascii chars tomorrow early morning and report back.\n\nIf you need any more testing, drop me a line\n\nRegards\n\nRichard",
"time": "22:47",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-16",
"forum": "FiveWin for Pocket PC",
"text": "Antonio\n\nConfirmed, it is a sign issue\n\nAscii codes up to 127 are printed correct not the others.\n\nI sent to your private email a pdf showing a print out of all ascii codes.\n\nRichard",
"time": "09:51",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-16",
"forum": "FiveWin for Pocket PC",
"text": "Richard,\n\nPlease test this function and place a #define WriteByte _WriteByte in your app:\n[code:2l9fnno8]\nHB_FUNC( _WRITEBYTE ) // hComm, nChar --> lOk\n{\n DWORD cBytes;\n unsigned char ch = ( unsigned char ) hb_parnl( 2 ); \n \n hb_retl( ( BOOL ) WriteFile( ( void * ) hb_parnl( 1 ), &ch, 1, &cBytes, NULL ) );\n} \n[/code:2l9fnno8]",
"time": "10:08",
"topic": "Bluetooth print and Special characters",
"username": "Antonio Linares"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-16",
"forum": "FiveWin for Pocket PC",
"text": "Antonio\n\nSame result\n\n\nRichard",
"time": "10:47",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-17",
"forum": "FiveWin for Pocket PC",
"text": "Richard,\n\nWe are searching info for WriteFile() use to manage unsigned chars",
"time": "08:53",
"topic": "Bluetooth print and Special characters",
"username": "Antonio Linares"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-17",
"forum": "FiveWin for Pocket PC",
"text": "Antonio\n\nNo problem\n\nI have the printer available all week end if you need some testing.\n\nLet me know.\n\nRichard",
"time": "09:01",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-17",
"forum": "FiveWin for Pocket PC",
"text": "Richard,\n\nCould you please try this:\n[code:2rvqm0y3]\nHB_FUNC( WRITE233 ) // hComm --> lOk \n{ \n DWORD cBytes; \n unsigned char ch = 233; \n \n hb_retl( ( BOOL ) WriteFile( ( void * ) hb_parnl( 1 ), &ch, 1, &cBytes, NULL ) ); \n}\n[/code:2rvqm0y3]\nJust to check if 233 ascii gets properly printed, thanks",
"time": "10:00",
"topic": "Bluetooth print and Special characters",
"username": "Antonio Linares"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-17",
"forum": "FiveWin for Pocket PC",
"text": "Antonio\n\nNo it is not good\n\nThis is the sample i am using (just to check the syntax)\n\nI had to remove the INT RC (compile error)\n\n#include \"C:\\FWPPC\\INCLUDE\\FWCE.ch\"\n\n#define GENERIC_READ 0x80000000\n#define GENERIC_WRITE 0x40000000\n#define GENERIC_REWRITE 0xC0000000\n#define OPEN_EXISTING 3\n#define FILE_ATTRIBUTE_NORMAL 0x00000080\n#define FILE_FLAG_OVERLAPPED 0x40000000\n\n#define WriteByte _WriteByte\n\nfunction Main()\nLOCAL I := 0, ;\n CTEXTE := SPACE(30), ;\n HOUT\n\nhOut := CreateFile( \"COM5:\",GENERIC_REWRITE, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL )\n\nCTEXTE := \"Désignation à suivre €\"\nSENDTEXT(hout,Ctexte)\nCloseHandle( hOut )\n\nRETURN Nil\n\nfunction SendText( hOut, cText )\n\n local n\n\n for n = 1 to Len( cText )\n WriteByte( hOut, Asc( SubStr( cText, n, 1 ) ) )\n next\n\nreturn nil\n\n#pragma BEGINDUMP\n\n#include <hbapi.h>\n#include <windows.h>\n#include <aygshell.h>\n\nHB_FUNC( _WRITEBYTE ) // hComm, nChar --> lOk\n{\n DWORD cBytes;\n unsigned char ch = 233;\n// unsigned char ch = ( unsigned char ) hb_parnl( 2 );\n\n hb_retl( ( BOOL ) WriteFile( ( void * ) hb_parnl( 1 ), &ch, 1, &cBytes, NULL ) );\n}\n\n#pragma ENDDUMP",
"time": "10:20",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-17",
"forum": "FiveWin for Pocket PC",
"text": "[quote=\"Antonio Linares\":dhw2rkep][code:dhw2rkep]\nHB_FUNC( WRITE233 ) // hComm --> lOk \n{ \n DWORD cBytes; \n unsigned char ch = 233; \n \n hb_retl( ( BOOL ) WriteFile( ( void * ) hb_parnl( 1 ), &ch, 1, &cBytes, NULL ) ); \n}\n[/code:dhw2rkep][/quote:dhw2rkep]\n\nWhy the cast to void *? It should be to HANDLE. But this is surely not the problem.\n\nEMG",
"time": "12:15",
"topic": "Bluetooth print and Special characters",
"username": "Enrico Maria Giordano"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-17",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nFrom Windows headers: typedef void *HANDLE;\n\nIts quite strange why WriteFile() is not able to manage unsigned chars...",
"time": "15:51",
"topic": "Bluetooth print and Special characters",
"username": "Antonio Linares"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-18",
"forum": "FiveWin for Pocket PC",
"text": "Antonio\n\nThis is from Pocket pc Msdn\n\nDoes it make any sense in this case ?\n\n\nYou should note that the lpBuffer parameter of WriteFile is a LPCVOID (typedef for const void *).\n\nThat means the lpBuffer parameter is type-agnostic. You could make it point to an array of chars, or you can make it point to an array of WCHARs, an array of ints, array of doubles, array of Matrices, array of FileSystems, array of... you get the idea. The key to telling WriteFile what the data type is, is through the nNumberofBytesToWrite parameter.\n\nIf you want to write 2 WCHARs to the stream, the 3rd parameter to WriteFile should be 2*sizeof(WCHAR) (but make sure that the 2 WCHARs are next to each other in memory).\n\nNote, that sending UNICODE across the serial port is only useful if the program on the other side of the port understands UNICODE.\n\n// WriteFile(f, data, lstrlen(data) * sizeof(TCHAR), &bytesWritten, NULL); // RIGHT",
"time": "16:40",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-18",
"forum": "FiveWin for Pocket PC",
"text": "Richard,\n\nIt does not make a difference. We are placing an unsigned char into the buffer and WriteFile() should transmit an unsigned char.\n\nCould you try to send the data to a different bluetooth device ? Maybe the difference comes from the receiver",
"time": "19:07",
"topic": "Bluetooth print and Special characters",
"username": "Antonio Linares"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-18",
"forum": "FiveWin for Pocket PC",
"text": "Richard,\n\nDoes that printer work with unicode chars ?",
"time": "19:08",
"topic": "Bluetooth print and Special characters",
"username": "Antonio Linares"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-18",
"forum": "FiveWin for Pocket PC",
"text": "Antonio\n\nThe printer is OK There is no setting on it.\n\nWhen i send the txt file to the printer via windows mobile (send via bluetooth), the printout is OK. \n\nThe problem is i the writefile function\n\nRichad",
"time": "20:39",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-18",
"forum": "FiveWin for Pocket PC",
"text": "I don't have the documentation of the printer available here, but i will take a look at it tomorrow morning.\n\nMy guess is \"Yes\" it takes Unicode, see my previous post.",
"time": "20:40",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-19",
"forum": "FiveWin for Pocket PC",
"text": "Antonio\n\nThe printer works with Unicode\n\nIt is a brand new HP Deskjet 460 \n\nI tried it also on another BT printer (Epson), same problem.\n\nLooks like we have a problem with accented characters.\n\nI have a work around but can not find the appropriate C code for it. Maybe you can help ?\n\nI want to print a txt file from fwppc by calling the file explorer, send via bluetooth function. This will temporarly fix my problem. \n\nThanks for the help,\n\nRichard",
"time": "15:00",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-19",
"forum": "FiveWin for Pocket PC",
"text": "Richard,\n\nPlease try this:\n[code:rp0ak8fr]\nHB_FUNC( WRITE233 ) // hComm --> lOk \n{ \n DWORD cBytes; \n WCHAR ch = 233; \n \n hb_retl( ( BOOL ) WriteFile( ( void * ) hb_parnl( 1 ), &ch, sizeof( ch )\n, &cBytes, NULL ) ); \n}\n[/code:rp0ak8fr]",
"time": "19:46",
"topic": "Bluetooth print and Special characters",
"username": "Antonio Linares"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-20",
"forum": "FiveWin for Pocket PC",
"text": "Same result\n\nBad character printed.\n\nRichard",
"time": "08:42",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-20",
"forum": "FiveWin for Pocket PC",
"text": "Are you able to read what exactly comes out of the palmtop?\n\nEMG",
"time": "08:46",
"topic": "Bluetooth print and Special characters",
"username": "Enrico Maria Giordano"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-20",
"forum": "FiveWin for Pocket PC",
"text": "Enrico\n\nWhat do you mean by this ? i do not understand\n\nRichard",
"time": "08:52",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-20",
"forum": "FiveWin for Pocket PC",
"text": "Till now you only know that the printer won't print what you expected. It would be useful to know what number(s) really comes out of the palmtop instead.\n\nEMG",
"time": "08:55",
"topic": "Bluetooth print and Special characters",
"username": "Enrico Maria Giordano"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-20",
"forum": "FiveWin for Pocket PC",
"text": "How can i know that ?",
"time": "08:58",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-20",
"forum": "FiveWin for Pocket PC",
"text": "This is the result\n\n<!-- m --><a class=\"postlink\" href=\"http://www.cbati.com/scanprint.jpg\">http://www.cbati.com/scanprint.jpg</a><!-- m -->\n\nit should display \"é\"",
"time": "09:42",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-20",
"forum": "FiveWin for Pocket PC",
"text": "[quote=\"Richard Chidiak\":1ihl4f45]How can i know that ?[/quote:1ihl4f45]\n\nAs an example, connecting the bluetooth to a PC?\n\nEMG",
"time": "11:55",
"topic": "Bluetooth print and Special characters",
"username": "Enrico Maria Giordano"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-20",
"forum": "FiveWin for Pocket PC",
"text": "Enrico\n\nFrom pc, everything prints out ok on the same printer \n\nI already tested it.\n\nRichard",
"time": "13:01",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-20",
"forum": "FiveWin for Pocket PC",
"text": "[quote=\"Richard Chidiak\":3olyde6q]Enrico\n\nFrom pc, everything prints out ok on the same printer \n\nI already tested it.\n\nRichard[/quote:3olyde6q]\n\nNo, you still haven't understood what I'm saying. You may try to print from your palmtop connecting it to a PC instead of a printer. That way you can see what exactly comes out from your palmtop (ie. the real numbers).\n\nEMG",
"time": "13:07",
"topic": "Bluetooth print and Special characters",
"username": "Enrico Maria Giordano"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-20",
"forum": "FiveWin for Pocket PC",
"text": "Enrico\n\nI had tried that but nothing displays on the pc or maybe i was unable to configure it correct. Though i can transfer files via bt from pocket to different pcs. \n\nAny clue on how to do it or what i may have missed ?\n\nTia\n\nRichard",
"time": "13:38",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-20",
"forum": "FiveWin for Pocket PC",
"text": "No, sorry. My knowledge on real palmtops is about zero. I only use the emulator. I can imagine that you have to setup the serial port of your PC, use a program to receive the numbers sent from the palmtop and display them on the screen.\n\nEMG",
"time": "15:03",
"topic": "Bluetooth print and Special characters",
"username": "Enrico Maria Giordano"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2007-02-20",
"forum": "FiveWin for Pocket PC",
"text": "I did try all the possibilities but did not see any chars appear.\n\nI do not know how to do it. <!-- s:? --><img src=\"{SMILIES_PATH}/icon_confused.gif\" alt=\":?\" title=\"Confused\" /><!-- s:? -->",
"time": "15:26",
"topic": "Bluetooth print and Special characters",
"username": "Richard Chidiak"
}
] |
Bluetooth print and Special characters
|
[
{
"date": "2019-03-03",
"forum": "Utilities / Utilidades",
"text": "[url:2emb2bgw]https://people.csail.mit.edu/albert/bluez-intro/index.html[/url:2emb2bgw]",
"time": "12:31",
"topic": "Bluetooth programming readings",
"username": "Antonio Linares"
}
] |
Bluetooth programming readings
|
[
{
"date": "2005-12-02",
"forum": "FiveWin for Pocket PC",
"text": "I need 2-way comms to a Bluetooth 'Flic' scanner (to handle the out of range protocol), but always get a port handle of -1 and no response. For testing I have added a 'read' section to sample program 'bluetoth' using code as earlier posts and am attempting to retrieve each character via Chr(bin2l( ReadByte( hIn ) ) )\nThe scanner works OK to other programs and also via keyboard wedge s/w.\nAntonio, friends, can anyone offer any clues?\nthanks",
"time": "02:31",
"topic": "Bluetooth serial port",
"username": "Jon Munro"
}
] |
Bluetooth serial port
|
[
{
"date": "2005-12-02",
"forum": "FiveWin for Pocket PC",
"text": "Jon,\n\nWe discussed the bluetooth issue here, and finally got it working using CreateFile() function call. Is that the one you are using too ?",
"time": "13:31",
"topic": "Bluetooth serial port",
"username": "Antonio Linares"
}
] |
Bluetooth serial port
|
[
{
"date": "2005-12-02",
"forum": "FiveWin for Pocket PC",
"text": "Antonio,\nYes, I'm using the same method as used by Jose with the printer and in your 'bluetoth' sample. I have a variant 'blueread' :\n\n// BlueRead \n#include \"FWCE.ch\"\n#define GENERIC_READ 0x80000000\n#define GENERIC_WRITE 0x40000000 \n#define OPEN_EXISTING 3 \n#define FILE_ATTRIBUTE_NORMAL 0x00000080\n\nfunction Main()\n\n local oWnd\n local hOut := CreateFile( \"COM2:\",GENERIC_WRITE, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL )\n \n DEFINE WINDOW oWnd TITLE \"BlueRead\"\n \n @ 2, 2 BUTTON \"Read\" ;\n ACTION ReadText( hOut ) SIZE 80, 20\n \n ACTIVATE WINDOW oWnd\n \n CloseHandle( hOut )\n \nreturn nil \n\nfunction ReadText( hOut )\n\n local nChr := 1\n local cText := \"\"\n local nLen := 0\n \n msginfo(str(hOut))\n \n do while nChr <> 0\n nChr := bin2l( ReadByte( hOut ) )\n cText := cText + Chr( nChr )\n end do\n\n msginfo( cText )\n \nreturn nil\n\nThe port handle is displayed as -1 and then just blanks. I wondered if anyone has got this running in this mode. I will also need to write a response to the scanner, hence am using 'write' mode. Any help is gratefully received, thanks.",
"time": "15:02",
"topic": "Bluetooth serial port",
"username": "Jon Munro"
}
] |
Bluetooth serial port
|
[
{
"date": "2005-12-02",
"forum": "FiveWin for Pocket PC",
"text": "Jon,\n\nPlease notice that you should use GENERIC_READ instead of GENERIC_WRITE.",
"time": "15:33",
"topic": "Bluetooth serial port",
"username": "Antonio Linares"
}
] |
Bluetooth serial port
|
[
{
"date": "2005-12-05",
"forum": "FiveWin for Pocket PC",
"text": "Antonio,\nSome progress - after re-booting the emulator and using only COM1 I can get a port handle number like 230603634, which I assume is OK and similar to running on an Intermec 700C. I'm not able to retrieve characters from the buffer though and repeatedly only get asc(156). How should I read from the communication buffer and is it possible to clear it (like Telpathy tp_clearin())?\nThanks for any clues <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nregards, saludos",
"time": "13:32",
"topic": "Bluetooth serial port",
"username": "Jon Munro"
}
] |
Bluetooth serial port
|
[
{
"date": "2006-01-06",
"forum": "FiveWin for Pocket PC",
"text": "Notes for newbies on Emulator Serial Ports (MSDN Forums - Device Emulator General 29 Nov 2005)\nSerial Port 0: appears inside the emulator as COM1: that apps can use.\nSerial Port 1: reserved for WinCE kernel, doesn't have a driver, do not use it. ie 'com2:' is not available.\nSerial Port 2: the IRDA port and assigned the name COM3:\n\nI've grafted fragments of FWPPC 'comm.c' into parts of Harbour Telepathy (port by Luiz Rafael Culik Guimaraes) and have a working FWPPC test program that reads from a barcode scanner and can send acks, etc. Nearly there...\nRegards and happy and successful 2006 to all <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "15:58",
"topic": "Bluetooth serial port",
"username": "Jon Munro"
}
] |
Bluetooth serial port
|
[
{
"date": "2006-01-06",
"forum": "FiveWin for Pocket PC",
"text": "jon\nI in need for the contact between the pocket pc from Bluetooth to computer \nSending a file represented or received a file\nI testing all fwppc sources the available and did not run\nDo there is solution\nBest Regards \nHATHAL",
"time": "18:00",
"topic": "Bluetooth serial port",
"username": "HATHAL"
}
] |
Bluetooth serial port
|
[
{
"date": "2006-01-07",
"forum": "FiveWin for Pocket PC",
"text": "Hathal,\nHave you considered ActiveSync or other serial comms program with Bluetooth? Possibly less painful. I only need a few basic functions.\nregards, saludos",
"time": "14:41",
"topic": "Bluetooth serial port",
"username": "Jon Munro"
}
] |
Bluetooth serial port
|
[
{
"date": "2006-01-07",
"forum": "FiveWin for Pocket PC",
"text": "[quote=\"Jon Munro\":2in9qy2f]Hathal,\nHave you considered ActiveSync or other serial comms program with Bluetooth? Possibly less painful. I only need a few basic functions.\nregards, saludos[/quote:2in9qy2f]\njon \nI want function with Fwppc source\nBest Regards \nHATHAL",
"time": "21:14",
"topic": "Bluetooth serial port",
"username": "HATHAL"
}
] |
Bluetooth serial port
|
[
{
"date": "2006-01-08",
"forum": "FiveWin for Pocket PC",
"text": "Hathal,\nDefine a single port with mode 0xC0000000 to get 'read-write'. You may find that 'nChr := bin2l( ReadByte( hIn ) )' will return single characters (as asc value) from data received. 'BillSerialMonitor' (freeware) from <!-- w --><a class=\"postlink\" href=\"http://www.symcod.com\">www.symcod.com</a><!-- w --> is very useful for testing. Still testing comms functions...\nregards",
"time": "16:22",
"topic": "Bluetooth serial port",
"username": "Jon Munro"
}
] |
Bluetooth serial port
|
[
{
"date": "2006-05-01",
"forum": "FiveWin for Pocket PC",
"text": "[quote=\"Jon Munro\":2cvf4v0i]\nI've grafted fragments of FWPPC 'comm.c' into parts of Harbour Telepathy (port by Luiz Rafael Culik Guimaraes) and have a working FWPPC test program that reads from a barcode scanner and can send acks, etc. Nearly there...\nRegards and happy and successful 2006 to all <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->[/quote:2cvf4v0i]\n\nHello Jon,\n\nI need to read a bluetooth GPS receiver from a pocket PC.\nHaving used the sample code that you posteed earlier, i reach the same point as you were : I get a handle but cannot receive any message.\n\nCould you please share your experience and tell me what I still need to do. A code snippet would be greatly appreciated.\n\nMany thanks in advance.",
"time": "20:06",
"topic": "Bluetooth serial port",
"username": "Raymond Fischbach"
}
] |
Bluetooth serial port
|
[
{
"date": "2006-05-02",
"forum": "FiveWin for Pocket PC",
"text": "Raymond,\nThe FWPPC comms functions work well, for example:\n\n#define GENERIC_READ 0x80000000\n#define GENERIC_WRITE 0x40000000 \n#define GENERIC_REWRITE 0xC0000000 \n#define OPEN_EXISTING 3 \n#define FILE_ATTRIBUTE_NORMAL 0x00000080\n...\n...\n...\nSTATIC FUNCTION OPENCOMM( nPort )\n// Open port for read/write\nlocal hPort\nhPort := CreateFile( \"COM\"+ltrim(str(nPort))+\":\",;\n GENERIC_REWRITE, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL )\nif hPort == -1\n MSGALERT(\"Cannot open port\")\n return -1\nendif\nReturn hPort\n\n...\n...\n// Read a character from comm port handle hPort\ncChr := Chr(ReadByte( hPort ))\n\n...\n...\n// Write a character to comm port handle hPort \nWriteByte( hPort, Asc(cChr))\n\nPlease see my other posts on related issues with available ports via the emulator and faults with PPC2003 emulator. Antonio's code is the best! I use it to read and talk to a bluetooth barcode and possibly RFID scanners.\nJust one character at a time.\nhth",
"time": "13:50",
"topic": "Bluetooth serial port",
"username": "Jon Munro"
}
] |
Bluetooth serial port
|
[
{
"date": "2006-05-02",
"forum": "FiveWin for Pocket PC",
"text": "Many thanks, I will give it a try.\nI need to read complete messages but I am sure this is not a problem as long as I can read a character.\n\n\nBest Regards,\nRaymond",
"time": "14:40",
"topic": "Bluetooth serial port",
"username": "Raymond Fischbach"
}
] |
Bluetooth serial port
|
[
{
"date": "2006-05-10",
"forum": "FiveWin for Pocket PC",
"text": "Thanks for the info. \nBased on it I have been able to get the data from a Btooth GPS.\n\nI still have a problem to get the data from a serial one. I can read the serial GPS but I only get invalid data.\n\nHere is my com port opening :\n[code:3rzbjec3]STATIC FUNCTION OPENCOMM(nPort)\n// Ouvrir le port en lecture\nLOCAL hPort\n\nhPort := CreateFile( \"COM\"+ltrim(str(nPort))+\":\",;\n GENERIC_READ, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL )\nIF hPort == -1\n MSGALERT(\"Impossible d'ouvrir le port\")\nENDIF\n\nRETURN hPort[/code:3rzbjec3]\n\nnPort comtains 8 for a Btooth and 1 or 2 for the serial port.\n\nI wonder if the problem is not due to a bad com port setting (like a bad baud rate). \n\nI could not find the documentation of the \"CreateFile\" function. Can you tell me where to look ?\n\nMany thanks,",
"time": "10:42",
"topic": "Bluetooth serial port",
"username": "Raymond Fischbach"
}
] |
Bluetooth serial port
|
[
{
"date": "2006-05-10",
"forum": "FiveWin for Pocket PC",
"text": "[quote=\"Raymond Fischbach\":1vo0i2hi]I could not find the documentation of the \"CreateFile\" function. Can you tell me where to look ?[/quote:1vo0i2hi]\n\nOn the MSDN.\n\nEMG",
"time": "10:44",
"topic": "Bluetooth serial port",
"username": "Enrico Maria Giordano"
}
] |
Bluetooth serial port
|
[
{
"date": "2006-12-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Everybody,\n\nIs it possible to communicate with a Bluetooth device via FWH ?\n\nIf yes, are there any samples?\n\nThanks,\n\nJeff",
"time": "21:46",
"topic": "Bluetooth support",
"username": "Jeff Barnes"
}
] |
Bluetooth support
|
[
{
"date": "2006-12-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "<!-- m --><a class=\"postlink\" href=\"http://fivetechsoft.com/forums/viewtopic.php?t=5347\">http://fivetechsoft.com/forums/viewtopic.php?t=5347</a><!-- m -->",
"time": "23:06",
"topic": "Bluetooth support",
"username": "Antonio Linares"
}
] |
Bluetooth support
|
[
{
"date": "2011-09-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "He estado haciendo pruebas con el efecto de empañado, y funciona perfectamente en mi computador de escritorio, con Windows 7 y 4gb de Memoria, pero en mi laptop (Intel Centrino) y mi AllInOne (Atom), ambas con 2 Gb de Memoria y Windows XP, no me funciona correctamente, la mayoria del tiempo empaña 1 control, a veces 2 Controles, a veces 4, a veces mas y raras veces todos los controles.... \nAl parecer, esto se debe a que la funcion Blur no espera a que se pinten los controles del dialogo o ventana, para ejecutarse.....\nHe intentado a poner un Inkey(.5), pero al colocarlos, se detiene todo, incluyendo el pintado de la ventana y se produce el mismo efecto.....\n\nEstoy utilizando ventanas tipo POP UP, por lo que quiero utilizar este efecto para diferenciar la ventana nueva de la anterior....\n\nAlgun comentario al respecto, o ayuda de como resolver el problema, les estare muy agradecido!!!!\n\nTengo una ventana POPUP con aproximadamente 70 controles, la mayoria BTNBMP's con 1 imagen.....\n\nEl codigo que uso para obtener el efecto es:\n\n[code=fw:2p8noeuc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">Function</span> BlurEffect<span style=\"color: #000000;\">(</span> oDialog <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hBmp <br /> <span style=\"color: #00C800;\">LOCAL</span> hBlur<br /> <br /> oDialog:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /> hBmp := MakeBkBmp<span style=\"color: #000000;\">(</span> oDialog:<span style=\"color: #000000;\">hWnd</span> , oDialog:<span style=\"color: #000000;\">hDC</span> <span style=\"color: #000000;\">)</span><br /> hBlur := Blur<span style=\"color: #000000;\">(</span> hBmp , <span style=\"color: #000000;\">12</span> <span style=\"color: #000000;\">)</span><br /> <br /> PalBmpDraw<span style=\"color: #000000;\">(</span> oDialog:<span style=\"color: #000000;\">hDC</span> , <span style=\"color: #000000;\">0</span> , <span style=\"color: #000000;\">0</span> , hBlur <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Probando Empañado de Pantalla...\"</span> <span style=\"color: #000000;\">)</span><br /> oDialog:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> DeleteObject<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br /> DeleteObject<span style=\"color: #000000;\">(</span> hBlur <span style=\"color: #000000;\">)</span><br /><br /> oDialog:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:2p8noeuc]",
"time": "21:43",
"topic": "Blur effect!!!",
"username": "Bayron"
}
] |
Blur effect!!!
|
[
{
"date": "2011-09-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Bayron disculpa, he querido probar el efecto Blur también para conseguir el efecto de que no sea una cosa inmediata y no se si lo hago bien. Si lo pongo en ON PAINT no me efectúa el efecto deseado.\n\n[code=fw:2o85pggs]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> BlurEffect<span style=\"color: #000000;\">(</span>oDlg<span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">VALID</span> MsgYesNo<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Do you want to end ?\"</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:2o85pggs]\n\nSi no dejo el mensaje tuyo (//MsgInfo...) no aprecio el efecto blur, en los dialogos. Si lo dejo funciona pero lo que me muestra es la imagen blur hasta que vuelvo a pulsar el mensaje tuyo y entonces se quita. \n\nPregunta: ¿No tendriamos que crear un delay e ir actualizando la concentración del blur hasta que fuera nula? No sé, es la primera prueba que hago pero no tengo ni idea.\n\n[code=fw:2o85pggs]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg, oIco, cTest := <span style=\"color: #ff0000;\">\"Hello world! \"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">ICON</span> oIco FILE <span style=\"color: #ff0000;\">\"fivewin.ico\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"I am a DialogBox\"</span> <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #ff0000;\">\"W+/B\"</span> ;<br /> <span style=\"color: #0000ff;\">ICON</span> oIco<br /><br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">GET</span> cTest<br /><br /> @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">5</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Ok\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">12</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> BlurEffect<span style=\"color: #000000;\">(</span>oDlg<span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">DEFAULT</span><br /><br /> @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">16</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Cancel\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> BlurEffect<span style=\"color: #000000;\">(</span>oDlg<span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">VALID</span> MsgYesNo<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Do you want to end ?\"</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />procedure AppSys <span style=\"color: #B900B9;\">// XBase++ requirement</span><br /><br /><span style=\"color: #00C800;\">return</span><br /><br /><span style=\"color: #00C800;\">Function</span> BlurEffect<span style=\"color: #000000;\">(</span> oDialog <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hBmp<br /> <span style=\"color: #00C800;\">LOCAL</span> hBlur<br /><br /> oDialog:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> hBmp := MakeBkBmp<span style=\"color: #000000;\">(</span> oDialog:<span style=\"color: #000000;\">hWnd</span> , oDialog:<span style=\"color: #000000;\">hDC</span> <span style=\"color: #000000;\">)</span><br /> hBlur := Blur<span style=\"color: #000000;\">(</span> hBmp , <span style=\"color: #000000;\">12</span> <span style=\"color: #000000;\">)</span><br /><br /> PalBmpDraw<span style=\"color: #000000;\">(</span> oDialog:<span style=\"color: #000000;\">hDC</span> , <span style=\"color: #000000;\">0</span> , <span style=\"color: #000000;\">0</span> , hBlur <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #B900B9;\">//MsgInfo( \"Probando Empañado de Pantalla...\" )</span><br /> oDialog:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> DeleteObject<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br /> DeleteObject<span style=\"color: #000000;\">(</span> hBlur <span style=\"color: #000000;\">)</span><br /><br /> oDialog:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:2o85pggs]",
"time": "12:09",
"topic": "Blur effect!!!",
"username": "Andrés González"
}
] |
Blur effect!!!
|
[
{
"date": "2011-09-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Si pongo un for next, no me crea bien el efecto ya que solo lo hace en los controles que tiene el dialogo y no en todo el dialogo. ¿Alguien sabe como crear el efecto pero de todo el dialogo? Prueben de añadir el for next en el blur, cuando se pulsa ok, se muestra el efecto pero con un pequeño rebote al final. Bueno son ideas.\n\n[code=fw:1ym05xfj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">Function</span> BlurEffect<span style=\"color: #000000;\">(</span> oDialog <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hBmp, i<br /> <span style=\"color: #00C800;\">LOCAL</span> hBlur<br /><br /> oDialog:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> hBmp := MakeBkBmp<span style=\"color: #000000;\">(</span> oDialog:<span style=\"color: #000000;\">hWnd</span> , oDialog:<span style=\"color: #000000;\">hDC</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">FOR</span> i := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">120</span><br /><br /> hBlur := Blur<span style=\"color: #000000;\">(</span> hBmp , <span style=\"color: #000000;\">121</span> - i<span style=\"color: #000000;\">)</span><br /><br /> PalBmpDraw<span style=\"color: #000000;\">(</span> oDialog:<span style=\"color: #000000;\">hDC</span> , <span style=\"color: #000000;\">0</span> , <span style=\"color: #000000;\">0</span> , hBlur <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #B900B9;\">//MsgInfo( \"Probando Empañado de Pantalla...\" )</span><br /> oDialog:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">NEXT</span><br /> DeleteObject<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br /> DeleteObject<span style=\"color: #000000;\">(</span> hBlur <span style=\"color: #000000;\">)</span><br /><br /> oDialog:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:1ym05xfj]",
"time": "12:23",
"topic": "Blur effect!!!",
"username": "Andrés González"
}
] |
Blur effect!!!
|
[
{
"date": "2011-09-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Bayron\nprueba colocar un sysrefresh() antes de empezar el proceso del blur\n\n\nAndres\noDialog:refresh() sacalo del FOR/NEXT",
"time": "13:09",
"topic": "Blur effect!!!",
"username": "Daniel Garcia-Gil"
}
] |
Blur effect!!!
|
[
{
"date": "2011-09-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Daniel, funcionó perfectamente!!! <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "13:53",
"topic": "Blur effect!!!",
"username": "Bayron"
}
] |
Blur effect!!!
|
[
{
"date": "2011-09-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Andres, intenta este codigo:\n\n[code=fw:233h0za8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">Function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br />....<br />....<br />....<br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">Window</span> oDialog ;<br /> <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">Init</span> <span style=\"color: #000000;\">(</span> BlurEffect<span style=\"color: #000000;\">(</span> oDialog , .T. <span style=\"color: #000000;\">)</span>, <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"NNN\"</span> <span style=\"color: #000000;\">)</span>, oDialog:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, BlurEffect<span style=\"color: #000000;\">(</span> oDialog , .F. <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br />....<br />....<br />....<br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">Function</span> BlurEffect<span style=\"color: #000000;\">(</span> oDialog , ForWard<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hBmp, i<br /> <span style=\"color: #00C800;\">LOCAL</span> n := <span style=\"color: #000000;\">25</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hBlur<br /><br /> oDialog:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> hBmp := MakeBkBmp<span style=\"color: #000000;\">(</span> oDialog:<span style=\"color: #000000;\">hWnd</span> , oDialog:<span style=\"color: #000000;\">hDC</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">FOR</span> i := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">25</span><br /> <br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> !ForWard, n := n - <span style=\"color: #000000;\">1</span> , <span style=\"color: #000000;\">)</span><br /> <br /> hBlur := Blur<span style=\"color: #000000;\">(</span> hBmp , <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ForWard, i , n <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> PalBmpDraw<span style=\"color: #000000;\">(</span> oDialog:<span style=\"color: #000000;\">hDC</span> , <span style=\"color: #000000;\">0</span> , <span style=\"color: #000000;\">0</span> , hBlur <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">NEXT</span><br /> <span style=\"color: #B900B9;\">//MsgInfo( \"Probando Empañado de Pantalla...\" )</span><br /> <span style=\"color: #B900B9;\">//oDialog:refresh()</span><br /><br /> DeleteObject<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br /> DeleteObject<span style=\"color: #000000;\">(</span> hBlur <span style=\"color: #000000;\">)</span><br /><br /> oDialog:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:233h0za8]",
"time": "18:33",
"topic": "Blur effect!!!",
"username": "Bayron"
}
] |
Blur effect!!!
|
[
{
"date": "2011-10-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Daniel,\n\nEl problema del BLUR ya está resuelto, no sé ni que le moví, pero ahora funciona correctamente...\n\nAhora el problema es con el pintado del RibbonBar, y éste apareció despues de que definí la ventana principal colocando el estilo: [color=#FF0000:2gdaud91]STYLE nOr( WS_POPUP )[/color:2gdaud91], si quito este estilo, todo va bien...\nEsto se puede observar en el video del post anterior...\n\nEDITADO:\nAl posicionar el Mouse sobre los grupos, el pintado se muestra correctamente de nuevo... \nEl problema se da cuando se pinta inicialmente la RibbonBar, y cuando utilizo las funciones oWnd:Restore() y oWnd:Maximize()\nCon el ejemplo samples\\ribbon.prg no se da el problema, y estoy tratando de recrear el problema ahora...",
"time": "01:58",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Bayron"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-10-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Daniel,\n\nEste codigo reproduce el error... Hay botones en la parte superior derecha para las funciones basicas de la ventana... (Por favor intenta a Maximizar/Restaurar la ventana)\n\n[code=fw:352614x5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#INCLUDE</span> <span style=\"color: #ff0000;\">\"FiveWin.CH\"</span> <span style=\"color: #B900B9;\">//FWH10.2</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Ribbon.ch\"</span><br /><br /><span style=\"color: #00C800;\">static</span> oRBar<br /><span style=\"color: #00C800;\">static</span> oBtn101, oBtn102, oBtn103<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">public</span> oWnd<br /><br /> <span style=\"color: #0000ff;\">Define</span> <span style=\"color: #0000ff;\">Window</span> oWnd;<br /> <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">(</span> WndHeight<span style=\"color: #000000;\">(</span> GetDesktopWindow<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> -;<br /> fhTaskBar<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">(</span> WndWidth<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> GetDesktopWindow<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">PIXEL</span>; <br /> <span style=\"color: #0000ff;\">STYLE</span> nOr<span style=\"color: #000000;\">(</span> WS_POPUP <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #B900B9;\">//NEW RIBBON </span><br /> <span style=\"color: #0000ff;\">DEFINE</span> RIBBONBAR oRBar <span style=\"color: #0000ff;\">OF</span> oWnd;<br /> <span style=\"color: #0000ff;\">PROMPTS</span> <span style=\"color: #ff0000;\">\" Archivos \"</span>;<br /> HEIGHT <span style=\"color: #000000;\">230</span>;<br /> TOPMARGIN <span style=\"color: #000000;\">52</span><br /><br /> <span style=\"color: #B900B9;\">//Buttons</span><br /> @ <span style=\"color: #000000;\">1</span>, oWnd:<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">-48</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn101;<br /> <span style=\"color: #0000ff;\">OF</span> oRBar ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">48</span>, <span style=\"color: #000000;\">48</span> ; <br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Exit\"</span>;<br /> <span style=\"color: #0000ff;\">PIXEL</span>; <br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /><br /> @ <span style=\"color: #000000;\">1</span>, oWnd:<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">-96</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn102;<br /> <span style=\"color: #0000ff;\">OF</span> oRBar ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Max\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Rest\"</span>;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">48</span>, <span style=\"color: #000000;\">48</span> ; <br /> <span style=\"color: #0000ff;\">PIXEL</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">(</span>IsZoomed<span style=\"color: #000000;\">(</span> oWnd:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span>,;<br /> oWnd:<span style=\"color: #000000;\">Restore</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oWnd:<span style=\"color: #000000;\">Maximize</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /><br /> @ <span style=\"color: #000000;\">1</span>, oWnd:<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">-144</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn103;<br /> <span style=\"color: #0000ff;\">OF</span> oRBar ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Min\"</span>;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">48</span>, <span style=\"color: #000000;\">48</span> ; <br /> <span style=\"color: #0000ff;\">PIXEL</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> oWnd:<span style=\"color: #000000;\">Minimize</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /><br /><br /> <span style=\"color: #B900B9;\">//Grupo 1</span><br /> ADD GROUP oGr20;<br /> RIBBON oRBar;<br /> <span style=\"color: #0000ff;\">TO</span> OPTION <span style=\"color: #000000;\">1</span>; <br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Trabajando con Camareros...\"</span>;<br /> WIDTH <span style=\"color: #000000;\">180</span><br /><br /> @ <span style=\"color: #000000;\">15</span>, <span style=\"color: #000000;\">15</span> ADD <span style=\"color: #0000ff;\">BUTTON</span> oBtn20;<br /> GROUP oGr20;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">130</span>;<br /> <span style=\"color: #0000ff;\">ROUND</span><br /> <br /><br /> <span style=\"color: #0000ff;\">activate</span> <span style=\"color: #0000ff;\">window</span> oWnd<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span> <br /><br /><span style=\"color: #B900B9;\">//***********************************************************************//</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> fhTaskBar<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">//Of Daniel Garcia-Gil</span><br /> <span style=\"color: #00C800;\">local</span> hTaskBar := FindWindow<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"Shell_TrayWnd\"</span>, <span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> aClientRect := GetClientRect<span style=\"color: #000000;\">(</span> hTaskBar <span style=\"color: #000000;\">)</span> <br /> <br /><span style=\"color: #00C800;\">RETURN</span> aClientRect<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span> <br /><br /> </div>[/code:352614x5]",
"time": "03:21",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Bayron"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-09-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola,\n\nAl intentar usar el efecto Blur en una ventana con RibbonBar, ésta hace el efecto, pero la RibbonBar no lo hace...\nAl hacerlo sobre el objeto de la RibbonBar, solamente los tabs hacen el efecto, pero no los botones pintados sobre ella...\n\n[img:3368rhzj]http://www.mayapos.com/FiveWin/puntotactil8.png[/img:3368rhzj]\n\nSi es algo demasiado complicado como para arreglarlo en FWH10.2, por favor indiquenlo cuando sea arreglado en alguna version futura!!!!\n\nEDITADO:\n\noRBar:Disable() funciona, pero no crea ningún efecto de desabilitado sobre la RibbonBar....",
"time": "04:58",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Bayron"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-09-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Bayron\n\nintenta hacerlo sobre la ventana principal no sobre la ribbon",
"time": "12:48",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Daniel Garcia-Gil"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-09-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Daniel, \n\nEso fue lo primero que hice, pero ni siquiera tocó la RibbonBar... al menos no lo hizo ayer, hoy si está trabajando bien???\n\nHice algunas pruebas, aparentemente el problema de pintado en los grupos (ya no tiene nada que ver con el efecto Blur) me lo da al colocar STYLE nOr( WS_POPUP ); en el ejemplo ribbon.prg no me produce este problema... \n\nYa coloque oRBar:Refresh() y un SysRefresh() en el on Init y sigue igual...\n\nEDITADO:\n\nUtilizando la función oWnd:Maximize(), siempre me provoca el problema de pintado....",
"time": "17:39",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Bayron"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-09-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Aquí te muestro el problema:\n\n[url:2h1zg7z7]http://www.youtube.com/watch?v=YAqTucM2Pzw[/url:2h1zg7z7]\n\npara Maximizar la ventana solamente uso oWnd:Maximize()",
"time": "20:23",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Bayron"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-09-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Bayron\n\ntrata de cocinar esta idea\n\neste link te puede servir para las opciones del GetSysMetrics \n[url:37f3dqr8]http://msdn.microsoft.com/en-us/library/windows/desktop/ms724385(v=vs.85).aspx[/url:37f3dqr8]\n\noDialog es la ventana principal y retorno \n\n[code=fw:37f3dqr8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">Function</span> BlurEffect<span style=\"color: #000000;\">(</span> oDialog <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hBmp, i<br /> <span style=\"color: #00C800;\">LOCAL</span> hBlur<br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd<br /> <br /> oDialog:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> hBmp := MakeBkBmp<span style=\"color: #000000;\">(</span> oDialog:<span style=\"color: #000000;\">hWnd</span> , oDialog:<span style=\"color: #000000;\">hDC</span> <span style=\"color: #000000;\">)</span><br /><br /> hBlur := Blur<span style=\"color: #000000;\">(</span> hBmp , <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">STYLE</span> nOr<span style=\"color: #000000;\">(</span> WS_POPUP, WS_VISIBLE <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">TO</span> GetSysMetrics<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>, GetSysMetrics<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">PIXEL</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MAXIMIZED</span>;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">(</span> ::<span style=\"color: #0000ff;\">Move</span><span style=\"color: #000000;\">(</span> GetSysMetrics<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">51</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> <span style=\"color: #000000;\">(</span> PalBmpDraw<span style=\"color: #000000;\">(</span> hDC , <span style=\"color: #000000;\">0</span> , <span style=\"color: #000000;\">0</span> , hBlur <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">(</span> DeleteObject<span style=\"color: #000000;\">(</span> hBlur <span style=\"color: #000000;\">)</span>, DeleteObject<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span>, .T. <span style=\"color: #000000;\">)</span><br /><br /> oDialog:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> oWnd <span style=\"color: #B900B9;\">//retorno este objeto para liberarlo despues de cerrar el dialogo que crea el efecto blur</span><br /><br /> </div>[/code:37f3dqr8]",
"time": "21:00",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Daniel Garcia-Gil"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-10-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "La RibbonBar no refresca cuando regreso del efecto Blur, como lo tengo ahora y tambien con el ejemplo que tu pusiste....\nLe he colocado un SysRefresh(), oWnd:Refresh() y oRBr:Refresh(), pero no funciona...\n\n[url:2w9oa990]http://www.youtube.com/watch?v=SY7EaGB_8bs[/url:2w9oa990]",
"time": "06:08",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Bayron"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-10-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Daniel y Equipo FiveTech,\n\n1 He encontrado una forma temporal de refrescar la RibbonBar al momento de entrar a mi programa:\n[code=fw:2oxbth5z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">init</span> <span style=\"color: #000000;\">(</span> oRBar:<span style=\"color: #000000;\">Resize</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, oRBar:<span style=\"color: #000000;\">nWidth</span>, oRBar:<span style=\"color: #000000;\">nHeight</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span></div>[/code:2oxbth5z]\n\nPero solo funciona para entrar al programa y no con oWnd:Maximize() y oWnd:Restore(), asi que:\n\n2 Tuve que declarar cada Grupo y cada Boton de la Barra con una variable Estatica y Refrescarlas individualmente... \n\nAsi que estoy pensando en hacer una funcion temporal, algo asi como:\n\n[code=fw:2oxbth5z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">For</span> n = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">To</span> Len<span style=\"color: #000000;\">(</span>oRBar:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">)</span><br /> oRBar:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">For</span> m = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">(</span>oRBar:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">)</span><br /> oRBar:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span>m<span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> EndFor<br /><br />EndFor</div>[/code:2oxbth5z]\n\nNo he probado todavia, a ver que resuelvo... Ojala que vaya por buen camino...\n\n3 He puesto algunos botones con la BtnBmp, con la Clausula [color=#BF0000:2oxbth5z]OF oRBar[/color:2oxbth5z] y tampoco son refrescados al momento de volver de la función BlurEffect() y hacer un :Refresh() en la ventana y otro en la RibbonBar... \nVoy a intentar con botones RbButton a ver que pasa....\n\nTodo lo expuesto anteriormente deberia ser refrescado por un oRBar:Refresh(), por lo que estas soluciones deben ser temporales, mientras se encuentra la forma de que sean permantes desde la propia Clase...\nTomen en cuenta que solo sucede cuando uso la ventana con [color=#BF0000:2oxbth5z]STYLE nOr( WS_POPUP )[/color:2oxbth5z]",
"time": "16:24",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Bayron"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-10-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "He logrado Refrescar la RibbonBar, con esta funcion:\n\n[code=fw:k0n129ee]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">FUNCTION</span> RefRBar<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">For</span> n = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">To</span> Len<span style=\"color: #000000;\">(</span>oRBar:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">)</span><br /> oRBar:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">For</span> m = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">(</span>oRBar:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">)</span><br /> oRBar:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span>m<span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">For</span> l = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">(</span>oRBar:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span>m<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">)</span><br /> oRBar:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span>m<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span>l<span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> EndFor<br /> EndFor<br /> EndFor<br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:k0n129ee]\n\nPero me provoca un parpadeo no tan bonito!!!...\nPS: Ver el post anterior...",
"time": "16:48",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Bayron"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-10-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Bayron\n\nprueba esto, el boton dentro del grupo hace el efecto blur\n\n[code=fw:98n85pux]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#INCLUDE</span> <span style=\"color: #ff0000;\">\"FiveWin.CH\"</span> <span style=\"color: #B900B9;\">//FWH10.2</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Ribbon.ch\"</span><br /><br /><span style=\"color: #00C800;\">static</span> oRBar<br /><span style=\"color: #00C800;\">static</span> oBtn101, oBtn102, oBtn103<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> aArea := GETWORKAREA<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">public</span> oWnd<br /> <br /> <br /> <span style=\"color: #0000ff;\">Define</span> <span style=\"color: #0000ff;\">Window</span> oWnd;<br /> <span style=\"color: #0000ff;\">FROM</span> aArea<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>, aArea<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">TO</span> aArea<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span>, aArea<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #0000ff;\">PIXEL</span>; <br /> <span style=\"color: #0000ff;\">STYLE</span> nOr<span style=\"color: #000000;\">(</span> WS_POPUP, WS_VISIBLE <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #B900B9;\">//NEW RIBBON </span><br /> <span style=\"color: #0000ff;\">DEFINE</span> RIBBONBAR oRBar <span style=\"color: #0000ff;\">OF</span> oWnd;<br /> <span style=\"color: #0000ff;\">PROMPTS</span> <span style=\"color: #ff0000;\">\" Archivos \"</span>;<br /> HEIGHT <span style=\"color: #000000;\">230</span>;<br /> TOPMARGIN <span style=\"color: #000000;\">52</span><br /><br /> <span style=\"color: #B900B9;\">//Buttons</span><br /> @ <span style=\"color: #000000;\">1</span>, oWnd:<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">-48</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn101;<br /> <span style=\"color: #0000ff;\">OF</span> oRBar ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">48</span>, <span style=\"color: #000000;\">48</span> ; <br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Exit\"</span>;<br /> <span style=\"color: #0000ff;\">PIXEL</span>; <br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /><br /> @ <span style=\"color: #000000;\">1</span>, oWnd:<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">-96</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn102;<br /> <span style=\"color: #0000ff;\">OF</span> oRBar ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Max\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Rest\"</span>;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">48</span>, <span style=\"color: #000000;\">48</span> ; <br /> <span style=\"color: #0000ff;\">PIXEL</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> oWnd:<span style=\"color: #0000ff;\">Move</span><span style=\"color: #000000;\">(</span> aArea<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>, aArea<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span>, aArea<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span>, aArea<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span>, oRBar:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /><br /> @ <span style=\"color: #000000;\">1</span>, oWnd:<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">-144</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn103;<br /> <span style=\"color: #0000ff;\">OF</span> oRBar ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Min\"</span>;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">48</span>, <span style=\"color: #000000;\">48</span> ; <br /> <span style=\"color: #0000ff;\">PIXEL</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> oWnd:<span style=\"color: #000000;\">Minimize</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /><br /><br /> <span style=\"color: #B900B9;\">//Grupo 1</span><br /> ADD GROUP oGr20;<br /> RIBBON oRBar;<br /> <span style=\"color: #0000ff;\">TO</span> OPTION <span style=\"color: #000000;\">1</span>; <br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Trabajando con Camareros...\"</span>;<br /> WIDTH <span style=\"color: #000000;\">180</span><br /><br /> @ <span style=\"color: #000000;\">15</span>, <span style=\"color: #000000;\">15</span> ADD <span style=\"color: #0000ff;\">BUTTON</span> oBtn20;<br /> GROUP oGr20;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">130</span>;<br /> <span style=\"color: #0000ff;\">ROUND</span>;<br /> <span style=\"color: #0000ff;\">action</span> Ribbon<span style=\"color: #000000;\">(</span> oWnd <span style=\"color: #000000;\">)</span><br /> <br /><br /> <span style=\"color: #0000ff;\">activate</span> <span style=\"color: #0000ff;\">window</span> oWnd <span style=\"color: #0000ff;\">maximized</span>; <br /> <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">init</span> oWnd:<span style=\"color: #0000ff;\">Move</span><span style=\"color: #000000;\">(</span> aArea<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>, aArea<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span>, aArea<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span>, aArea<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span> <br /><br /><span style=\"color: #B900B9;\">//***********************************************************************//</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> fhTaskBar<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">//Of Daniel Garcia-Gil</span><br /> <span style=\"color: #00C800;\">local</span> hTaskBar := FindWindow<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"Shell_TrayWnd\"</span>, <span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> aClientRect := GetClientRect<span style=\"color: #000000;\">(</span> hTaskBar <span style=\"color: #000000;\">)</span> <br /> <br /><span style=\"color: #00C800;\">RETURN</span> aClientRect<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span> <br /><br /> <br /><br /><span style=\"color: #00C800;\">Function</span> Ribbon<span style=\"color: #000000;\">(</span> oWnd <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg<br /> <span style=\"color: #00C800;\">local</span> aBtn := Array<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">20</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> aGrp := Array<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> oBrush<br /> <span style=\"color: #00C800;\">local</span> oMenu<br /> <span style=\"color: #00C800;\">local</span> oBlur<br /><br /> oBlur = BlurEffect<span style=\"color: #000000;\">(</span> oWnd <span style=\"color: #000000;\">)</span> <br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #0000ff;\">POPUP</span> <span style=\"color: #000000;\">2007</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Style Set\"</span> FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\s</span>tyleset161.BMP\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Colors\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Font\"</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\b</span>ackgrnd<span style=\"color: #000000;\">\\b</span>oards.bmp\"</span> <br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">title</span> <span style=\"color: #ff0000;\">\"Test RibbonBar Own Control \"</span> + FWVERSION <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">600</span>,<span style=\"color: #000000;\">600</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush<br /><br /> @ <span style=\"color: #000000;\">010</span>, <span style=\"color: #000000;\">010</span> RBGROUP aGrp<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Test\"</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">90</span>, <span style=\"color: #000000;\">40</span> <br /> <br /> @ <span style=\"color: #000000;\">010</span>, <span style=\"color: #000000;\">060</span> RBGROUP aGrp<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Transparent\"</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">90</span>, <span style=\"color: #000000;\">40</span> TRANSPARENT<br /> <br /> @ <span style=\"color: #000000;\">010</span>, <span style=\"color: #000000;\">110</span> RBGROUP aGrp<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Own Color\"</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">90</span>, <span style=\"color: #000000;\">40</span> ;<br /> GRADIANT <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.1</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">254</span>, <span style=\"color: #000000;\">154</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">254</span>, <span style=\"color: #000000;\">154</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.9</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">252</span>, <span style=\"color: #000000;\">85</span>, <span style=\"color: #000000;\">40</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">181</span>, <span style=\"color: #000000;\">61</span>, <span style=\"color: #000000;\">29</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>;<br /> LINECOLORS RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">249</span>, <span style=\"color: #000000;\">194</span>, <span style=\"color: #000000;\">179</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">181</span>, <span style=\"color: #000000;\">61</span>, <span style=\"color: #000000;\">29</span> <span style=\"color: #000000;\">)</span>;<br /> CAPTIONGRAD <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">239</span>, <span style=\"color: #000000;\">56</span>, <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">239</span>, <span style=\"color: #000000;\">56</span>, <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>;<br /> TEXTCOLOR CLR_WHITE<br /> <br /> @ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">05</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Say Button\"</span> SAYBUTTON <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">ROUND</span> BORDER;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Say Button\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /> @ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">60</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Button\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">ROUND</span> BORDER;<br /> GRADIANT <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>/<span style=\"color: #000000;\">3</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">254</span>, <span style=\"color: #000000;\">154</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">254</span>, <span style=\"color: #000000;\">154</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> , ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">2</span>/<span style=\"color: #000000;\">3</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">252</span>, <span style=\"color: #000000;\">85</span>, <span style=\"color: #000000;\">40</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">181</span>, <span style=\"color: #000000;\">61</span>, <span style=\"color: #000000;\">29</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> ;<br /> LINECOLORS RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">249</span>, <span style=\"color: #000000;\">194</span>, <span style=\"color: #000000;\">179</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">181</span>, <span style=\"color: #000000;\">61</span>, <span style=\"color: #000000;\">29</span> <span style=\"color: #000000;\">)</span><br /> <br /> @ <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">005</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Most Left\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">15</span> MOSTLEFT <span style=\"color: #0000ff;\">ROUND</span> BORDER ;<br /> BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>extalignleft16.bmp\"</span><br /><br /> @ <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">080</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Left\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #0000ff;\">ROUND</span> BORDER ;<br /> BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>extalignleft16.bmp\"</span><br /><br /> @ <span style=\"color: #000000;\">140</span>, <span style=\"color: #000000;\">005</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Center\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">ROUND</span> BORDER ;<br /> BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>extaligncenter16.bmp\"</span><br /><br /> @ <span style=\"color: #000000;\">165</span>, <span style=\"color: #000000;\">005</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Most Right\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">15</span> MOSTRIGHT <span style=\"color: #0000ff;\">ROUND</span> BORDER ;<br /> BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>extalignright16.bmp\"</span><br /><br /> @ <span style=\"color: #000000;\">165</span>, <span style=\"color: #000000;\">080</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Right\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">ROUND</span> BORDER ;<br /> BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>extalignright16.bmp\"</span><br /><br /><br /> @ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">165</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Rect Corner\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">CENTER</span> BORDER <br /><br /> @ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">220</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\s</span>elect16.BMP\"</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">35</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Popup\"</span> MOSTLEFT <span style=\"color: #0000ff;\">ROUND</span> <span style=\"color: #0000ff;\">POPUP</span> BORDER<br /> <br /> @ <span style=\"color: #000000;\">130</span>, <span style=\"color: #000000;\">165</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">11</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"SplitPopup\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">35</span>, <span style=\"color: #000000;\">50</span>;<br /> SPLITPOPUP <span style=\"color: #0000ff;\">ROUND</span> BORDER <span style=\"color: #0000ff;\">MENU</span> oMenu BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>extaligncenter16.bmp\"</span><br /><br /><br /> @ <span style=\"color: #000000;\">110</span>, <span style=\"color: #000000;\">220</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">12</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\s</span>elect16.BMP\"</span> <span style=\"color: #0000ff;\">MENU</span> oMenu;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Action\"</span> MOSTLEFT <span style=\"color: #0000ff;\">ROUND</span> <span style=\"color: #0000ff;\">POPUP</span> BORDER ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Action\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /> <br /> @ <span style=\"color: #000000;\">130</span>, <span style=\"color: #000000;\">220</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">13</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Popup\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">35</span>, <span style=\"color: #000000;\">50</span>;<br /> SPLITPOPUP <span style=\"color: #0000ff;\">ROUND</span> BORDER <span style=\"color: #0000ff;\">MENU</span> oMenu BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>extaligncenter16.bmp\"</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Action\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">CENTER</span><br /><br /> @ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">005</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">14</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Transparent\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">CENTER</span> BORDER TRANSPARENT<br /><br /> @ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">080</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">15</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\A</span>lphaBmp<span style=\"color: #000000;\">\\T</span>EXT.BMP\"</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"ALPHA\"</span> TOP TRANSPARENT <br /><br /> @ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">150</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">16</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>extalignleft16.bmp\"</span> GROUPBUTTON FIRST <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">12</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">ROUND</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> ChangeSelect<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">{</span> aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">16</span> <span style=\"color: #000000;\">]</span>, aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">17</span> <span style=\"color: #000000;\">]</span>, aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">18</span> <span style=\"color: #000000;\">]</span>, aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">19</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /> @ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">162</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">17</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>extaligncenter16.bmp\"</span> GROUPBUTTON <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">12</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">ROUND</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> ChangeSelect<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">{</span> aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">17</span> <span style=\"color: #000000;\">]</span>, aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">16</span> <span style=\"color: #000000;\">]</span>, aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">18</span> <span style=\"color: #000000;\">]</span>, aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">19</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /> @ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">174</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">18</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>extalignright16.bmp\"</span> GROUPBUTTON <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">12</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">ROUND</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> ChangeSelect<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">{</span> aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">18</span> <span style=\"color: #000000;\">]</span>, aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">17</span> <span style=\"color: #000000;\">]</span>, aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">16</span> <span style=\"color: #000000;\">]</span>, aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">19</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /> <br /> @ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">186</span> RBBTN aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">19</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>extalignjustify16.bmp\"</span> GROUPBUTTON END <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">12</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">ROUND</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> ChangeSelect<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">{</span> aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">19</span> <span style=\"color: #000000;\">]</span>, aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">18</span> <span style=\"color: #000000;\">]</span>, aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">17</span> <span style=\"color: #000000;\">]</span>, aBtn<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">16</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /> <br /> AEval<span style=\"color: #000000;\">(</span> aGrp, <span style=\"color: #000000;\">{</span> | o | <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> o != <span style=\"color: #00C800;\">NIL</span>, o:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> oBrush:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBlur:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />Procedure ChangeSelect<span style=\"color: #000000;\">(</span> aObj <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> n<br /> <br /> aObj<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">lSelected</span> := .t.<br /> <span style=\"color: #00C800;\">for</span> n = <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">to</span> len<span style=\"color: #000000;\">(</span> aObj <span style=\"color: #000000;\">)</span><br /> aObj<span style=\"color: #000000;\">[</span> n <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">lSelected</span> := .f.<br /> aObj<span style=\"color: #000000;\">[</span> n <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">next</span><br /><span style=\"color: #00C800;\">return</span><br /><br /><span style=\"color: #00C800;\">Function</span> ChangeBmp<span style=\"color: #000000;\">(</span> oBmp <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #00C800;\">static</span> lWork<br /> <br /> <span style=\"color: #00C800;\">if</span> lWork == <span style=\"color: #00C800;\">nil</span><br /> lWork := .f.<br /> <span style=\"color: #00C800;\">endif</span><br /><br /> <span style=\"color: #00C800;\">if</span> !lWork<br /> lWork := .t.<br /> nIndex+=nAvance <br /> <br /> <span style=\"color: #00C800;\">if</span> nIndex > LEN<span style=\"color: #000000;\">(</span> aBmp <span style=\"color: #000000;\">)</span><br /> nAvance := <span style=\"color: #000000;\">-1</span><br /> nIndex := LEN<span style=\"color: #000000;\">(</span> aBmp <span style=\"color: #000000;\">)</span> + nAvance<br /> elseif nIndex == <span style=\"color: #000000;\">0</span><br /> nAvance := <span style=\"color: #000000;\">1</span><br /> nIndex := <span style=\"color: #000000;\">1</span> + nAvance<br /> <span style=\"color: #00C800;\">endif</span><br /> oBmp:<span style=\"color: #000000;\">hBitmap</span> = aBmp<span style=\"color: #000000;\">[</span> nIndex <span style=\"color: #000000;\">]</span> <br /> oBmp:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> lWork := .f.<br /> <br /> <span style=\"color: #00C800;\">endif</span><br /><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">Function</span> BackStage<span style=\"color: #000000;\">(</span> oRBar <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oBackStage<br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> BACKSTAGE oBackStage <br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> BSBUTTON <span style=\"color: #0000ff;\">OF</span> oBackStage <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Save\"</span> ;<br /> BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\b</span>s_save.bmp\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span> oOpt:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span>;<br /> GRADIENT <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> BSBUTTON <span style=\"color: #0000ff;\">OF</span> oBackStage <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Save As\"</span> ;<br /> BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\b</span>s_saveas.bmp\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span> oOpt:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span>;<br /> GRADIENT <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">96</span>, <span style=\"color: #000000;\">96</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">195</span>, <span style=\"color: #000000;\">37</span>, <span style=\"color: #000000;\">37</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>;<br /> COLORTEXT CLR_BLACK, CLR_WHITE<br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> BSBUTTON <span style=\"color: #0000ff;\">OF</span> oBackStage <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Open\"</span> ;<br /> BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\b</span>s_open.bmp\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span> oOpt:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> BSBUTTON <span style=\"color: #0000ff;\">OF</span> oBackStage <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Close\"</span>;<br /> BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\b</span>s_close.bmp\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span> oOpt:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span><br /> <br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> BSSELECT <span style=\"color: #0000ff;\">OF</span> oBackStage <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Information\"</span>;<br /> COLORTEXT <span style=\"color: #00C800;\">NIL</span>, CLR_HRED <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span> oOpt:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> BSSELECT <span style=\"color: #0000ff;\">OF</span> oBackStage <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"New\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span> oOpt:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> BSSELECT <span style=\"color: #0000ff;\">OF</span> oBackStage <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Print\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span> oOpt:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> BSSELECT <span style=\"color: #0000ff;\">OF</span> oBackStage <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Save / Send\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span> oOpt:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span>;<br /> GRADIENT <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> BSSELECT <span style=\"color: #0000ff;\">OF</span> oBackStage <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Help\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span> oOpt:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span>;<br /> COLORS nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">96</span>, <span style=\"color: #000000;\">96</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">195</span>, <span style=\"color: #000000;\">37</span>, <span style=\"color: #000000;\">37</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> BSBUTTON <span style=\"color: #0000ff;\">OF</span> oBackStage <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Option\"</span> ;<br /> BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\b</span>s_options.bmp\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span> oOpt:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> BSBUTTON <span style=\"color: #0000ff;\">OF</span> oBackStage <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Exit\"</span> ;<br /> BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\b</span>s_exit.bmp\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span> oRBar:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> <br /> <br /> <br /> SET BACKSTAGE oBackStage <span style=\"color: #0000ff;\">TO</span> oRBar<br /><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> <br /> <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">Function</span> TestRes<span style=\"color: #000000;\">(</span> oWnd <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg<br /> <span style=\"color: #00C800;\">local</span> oBtn5, oBtn6, obtn7, oBtn8, oBtn9, oBtn10, oBtn11<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"TEST\"</span><br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> RBBTN <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\P</span>ASTE32.BMP\"</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> RIBBON<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> SPLITPOPUP <span style=\"color: #0000ff;\">ROUND</span> <br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> RBBTN <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">101</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\c</span>ut16.BMP\"</span> ;<br /> MOSTLEFT <span style=\"color: #0000ff;\">ROUND</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> <span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Cut\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> RBBTN <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">102</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\c</span>opy16.BMP\"</span> ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Copy\"</span> MOSTLEFT <span style=\"color: #0000ff;\">ROUND</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> <span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Copy\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> RBBTN <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">103</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\p</span>aste16.BMP\"</span> ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Paste\"</span> MOSTLEFT <span style=\"color: #0000ff;\">ROUND</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> <span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Paste\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> RBBTN <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">104</span> <span style=\"color: #0000ff;\">OF</span> oDlg SAYBUTTON <br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> RBBTN oBtn5 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">105</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\b</span>old16.bmp\"</span> GROUPBUTTON FIRST <span style=\"color: #0000ff;\">ROUND</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> oBtn5:<span style=\"color: #000000;\">lSelected</span> := !oBtn5:<span style=\"color: #000000;\">lSelected</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> RBBTN oBtn6 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">106</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\i</span>talic16.bmp\"</span> GROUPBUTTON <span style=\"color: #0000ff;\">ROUND</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> oBtn6:<span style=\"color: #000000;\">lSelected</span> := !oBtn6:<span style=\"color: #000000;\">lSelected</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> RBBTN oBtn7 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">107</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\u</span>nderline16.bmp\"</span> GROUPBUTTON <span style=\"color: #0000ff;\">ROUND</span> <span style=\"color: #0000ff;\">Popup</span><br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> RBBTN oBtn8 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">108</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\s</span>trikethru16.bmp\"</span> GROUPBUTTON <span style=\"color: #0000ff;\">ROUND</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> oBtn8:<span style=\"color: #000000;\">lSelected</span> := !oBtn8:<span style=\"color: #000000;\">lSelected</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> RBBTN oBtn9 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">109</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\s</span>ubindex16.bmp\"</span> GROUPBUTTON <span style=\"color: #0000ff;\">ROUND</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> oBtn9:<span style=\"color: #000000;\">lSelected</span> := !oBtn9:<span style=\"color: #000000;\">lSelected</span>, oBtn10:<span style=\"color: #000000;\">lSelected</span> := .f., oBtn10:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> RBBTN oBtn10 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">110</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\s</span>uperindex16.bmp\"</span> GROUPBUTTON <span style=\"color: #0000ff;\">ROUND</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> oBtn10:<span style=\"color: #000000;\">lSelected</span> := !oBtn10:<span style=\"color: #000000;\">lSelected</span>, oBtn9:<span style=\"color: #000000;\">lSelected</span> := .f., oBtn9:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> RBBTN oBtn11 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">111</span> <span style=\"color: #0000ff;\">OF</span> oDlg BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\c</span>asing16.bmp\"</span> GROUPBUTTON END <span style=\"color: #0000ff;\">ROUND</span> <span style=\"color: #0000ff;\">POPUP</span> <br /> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> AddResource<span style=\"color: #000000;\">(</span> nHResource, cType <span style=\"color: #000000;\">)</span><br /><br /> AAdd<span style=\"color: #000000;\">(</span> aResources, <span style=\"color: #000000;\">{</span> cType, nHResource, ProcName<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span>, ProcLine<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> DelResource<span style=\"color: #000000;\">(</span> nHResource <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> nAt<br /><br /> <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> nAt := AScan<span style=\"color: #000000;\">(</span> aResources, <span style=\"color: #000000;\">{</span> | aRes | aRes<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> == nHResource <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> != <span style=\"color: #000000;\">0</span><br /> ADel<span style=\"color: #000000;\">(</span> aResources, nAt <span style=\"color: #000000;\">)</span><br /> ASize<span style=\"color: #000000;\">(</span> aResources, Len<span style=\"color: #000000;\">(</span> aResources <span style=\"color: #000000;\">)</span> - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span> <br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><br /><span style=\"color: #00C800;\">Function</span> BlurEffect<span style=\"color: #000000;\">(</span> oDialog <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hBmp, i<br /> <span style=\"color: #00C800;\">LOCAL</span> hBlur<br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd<br /> <span style=\"color: #00C800;\">LOCAL</span> aRect := GetClientRect<span style=\"color: #000000;\">(</span> oDialog:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> aCoor := GetCoors<span style=\"color: #000000;\">(</span> oDialog:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> nTop := <span style=\"color: #000000;\">0</span><span style=\"color: #B900B9;\">//GetSysMetrics( 51 ) + GetSysMetrics( 33 ) + 4</span><br /> <span style=\"color: #00C800;\">local</span> nLeft := <span style=\"color: #000000;\">0</span><span style=\"color: #B900B9;\">//GetSysMetrics( 32 ) </span><br /><br /> oDialog:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> hBmp := MakeBkBmp<span style=\"color: #000000;\">(</span> oDialog:<span style=\"color: #000000;\">hWnd</span> , oDialog:<span style=\"color: #000000;\">hDC</span> <span style=\"color: #000000;\">)</span><br /><br /> hBlur := Blur<span style=\"color: #000000;\">(</span> hBmp , <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">STYLE</span> nOr<span style=\"color: #000000;\">(</span> WS_POPUP, WS_VISIBLE <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">FROM</span> aCoor<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> + nTop, aCoor<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> + nLeft <span style=\"color: #0000ff;\">TO</span> aCoor<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span> - GetSysMetrics<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">33</span> <span style=\"color: #000000;\">)</span>, aCoor<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">]</span> - nLeft <span style=\"color: #0000ff;\">PIXEL</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> <span style=\"color: #000000;\">(</span> PalBmpDraw<span style=\"color: #000000;\">(</span> hDC , <span style=\"color: #000000;\">0</span> , <span style=\"color: #000000;\">0</span> , hBlur <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">(</span> DeleteObject<span style=\"color: #000000;\">(</span> hBlur <span style=\"color: #000000;\">)</span>, DeleteObject<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span>, .T. <span style=\"color: #000000;\">)</span><br /> oWnd:<span style=\"color: #0000ff;\">REFRESH</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oDialog:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> oWnd<br /><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><span style=\"color: #00D7D7;\">#include</span> <hbapi.h><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">(</span> GETWORKAREA <span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /> RECT rect;<br /> memset<span style=\"color: #000000;\">(</span> &rect, 0x00, sizeof<span style=\"color: #000000;\">(</span> RECT <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> SystemParametersInfo<span style=\"color: #000000;\">(</span> SPI_GETWORKAREA, <span style=\"color: #000000;\">0</span>, &rect, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>;<br /><br /> hb_reta<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span>;<br /> hb_storvnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> LONG <span style=\"color: #000000;\">)</span> rect.top, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>;<br /> hb_storvnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> LONG <span style=\"color: #000000;\">)</span> rect.<span style=\"color: #0000ff;\">left</span>, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span>;<br /> hb_storvnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> LONG <span style=\"color: #000000;\">)</span> rect.bottom, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span>;<br /> hb_storvnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> LONG <span style=\"color: #000000;\">)</span> rect.<span style=\"color: #0000ff;\">right</span>, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span>;<br /> <br /><span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP<br /><br /><br /> </div>[/code:98n85pux]",
"time": "13:01",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Daniel Garcia-Gil"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-10-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Daniel, Gracias por contestar...\n\nNo probé tu ejemplo completamente porque mi version de fivewin es la 10.2.. pero probe con:\n\n[code=fw:h5rbojn9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">init</span> oWnd:<span style=\"color: #0000ff;\">Move</span><span style=\"color: #000000;\">(</span> aArea<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>, aArea<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span>, aArea<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span>, aArea<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span></div>[/code:h5rbojn9]\n\nFuncionó en el ejemplo, pero no funcionó en mi programa...\n\nLo del efecto Blur, ya fue resuelto... y lo del pintado de la RibbonBar no tiene nada que ver con el... sino con el estilo PopUp...\n\nPor ahora lo tengo resuelto de la forma anteriormente expuesta y creo que lo vamos a dejar así para evitar extender este post innecesariamente...\n\nGracias por tu apoyo....\n\n[url:h5rbojn9]http://www.youtube.com/watch?v=-Yfxhmf_KFM[/url:h5rbojn9]",
"time": "16:08",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Bayron"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-10-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "HOLA\n\nese efecto Blur esta super <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \nes de fivewin o codiguito tuyo <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->",
"time": "00:18",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "AIDA"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-10-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola\n\nsi esta incluido en fivewin",
"time": "01:44",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Daniel Garcia-Gil"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-10-05",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Muchas gracias creo que a mi ya no me toco tenerla esta genial\n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->",
"time": "03:04",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "AIDA"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2011-10-05",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote:222ttnhh]creo que a mi ya no me toco tenerla esta genial[/quote:222ttnhh]\n\nAIDA, Si puedes usarla en tu version de FiveWin, yo uso la 10.2, y creo que tu tienes una mas reciente: \n\nPara usarla solo tienes que enviarle el dialogo, Ventana o Control que quieres hacerle el efecto y darle un Refresh() al volver...",
"time": "05:41",
"topic": "Blur effect!!! /// RibbonBar ::FiveTech",
"username": "Bayron"
}
] |
Blur effect!!! /// RibbonBar ::FiveTech
|
[
{
"date": "2017-08-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi All,\n\nI have a dialog and call another dialog( get or read data ), back to to first dialog.\nFirst dialog background have second dialog background like blur.\n\nThis problem does not occur in all users.\nSometimes or for a long time to appear.\nI want to know it's FWH problem or computer device problem?\n\nNow, I test fwh1312 got problem. But fwh0612 old version working no problem.\n\n[img:1at89kgs]http://www.fivetech.com.tw/downloads/img/fwh/S_6611433909296.jpg[/img:1at89kgs]",
"time": "09:36",
"topic": "Blur?",
"username": "richard-service"
}
] |
Blur?
|
[
{
"date": "2017-08-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Richard,\n\nPlease try with current FWH version, or a more recent version, thanks",
"time": "10:34",
"topic": "Blur?",
"username": "Antonio Linares"
}
] |
Blur?
|
[
{
"date": "2017-08-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":1w0ks6ux]Richard,\n\nPlease try with current FWH version, or a more recent version, thanks[/quote:1w0ks6ux]\n\nOK. I will try it. Thanks.",
"time": "15:00",
"topic": "Blur?",
"username": "richard-service"
}
] |
Blur?
|
[
{
"date": "2008-05-05",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Srs.\r\nTengo un List Box que muestra los datos de mi tabla de articulos, bien, cuando el usuario elige el articulo que quiere, quiero mostrar la imagen del articulo.\r\n\r\n1-List Box\r\n2-Eleccion\r\n3-Mostrar la Imagen\r\nTengo el List Box y la funcion para Mostrar la Imagen, pero cuando le dan el click sobre el producto, me da error.\r\n\r\nde que no puede mostrar el mensaje.\r\nPueden indicarme como realizar esto??",
"time": "22:53",
"topic": "Bmp en ListBox",
"username": "Oserrano"
}
] |
Bmp en ListBox
|
[
{
"date": "2008-05-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Oscar,\r\n\r\nQue error te da ? Por favor copia aqui el error, gracias",
"time": "09:59",
"topic": "Bmp en ListBox",
"username": "Antonio Linares"
}
] |
Bmp en ListBox
|
[
{
"date": "2008-05-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":bpproe8s]Oscar,\n\nQue error te da ? Por favor copia aqui el error, gracias[/quote:bpproe8s]\r\n\r\nEl error es el Siguiente:\r\n\r\nMessage not Found\r\nTDIALOG:INV_SHOW\r\nArg:\r\n[ 1]=O Object\r\n\r\nStack Calls:\r\n_errt_sbase\r\nTDIALOG ERROR(172)\r\n\r\nMAS LAS DESCRIPTIVAS DE ORIGEN.\r\n\r\nESTA FUNCION LA SAQUE Y CREE UNA VENTANA PRINCIPAL Y CORRE PERFECTAMENTE..\r\nGracias.",
"time": "12:10",
"topic": "Bmp en ListBox",
"username": "Oserrano"
}
] |
Bmp en ListBox
|
[
{
"date": "2008-05-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Oscar,\r\n\r\nEn que parte de tu PRG se llama al método :INV_SHOW() ?\r\n\r\nPuedes copiar aqui esa porción de código ? gracias",
"time": "13:48",
"topic": "Bmp en ListBox",
"username": "Antonio Linares"
}
] |
Bmp en ListBox
|
[
{
"date": "2008-05-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":3r2kmccz]Oscar,\n\nEn que parte de tu PRG se llama al método :INV_SHOW() ?\n\nPuedes copiar aqui esa porción de código ? gracias[/quote:3r2kmccz]\r\n\r\n*---------------------------\r\nSTATIC FUNCTION Sel_Invent_dlg()\r\n*---------------------------\r\n LOCAL oFont,oFont2\r\n local oSay, cSearch := \"\"\r\n\r\n DEFINE FONT oFont NAME \"Arial\" SIZE 0, -12\r\n DEFINE FONT oFont2 NAME \"Arial\" SIZE 0, -10\r\n DEFINE DIALOG o[ O_DLG_INVE ] RESOURCE \"Sel_Invent\" \r\n \r\n REDEFINE LISTBOX o[ O_LBX_INVE ] ;\r\n FIELDS (aDbf[ DBF_ARTICULOS ])->NOMPROD, (aDbf[ DBF_ARTICULOS ])->REFERENCIA, (aDbf[ DBF_ARTICULOS ])->ingprod ;\r\n HEADERS \"NOMBRE\", \"REFERENCIA\", \"USO\" FONT oFont2;\r\n ID 500 OF o[ O_DLG_INVE ] ALIAS aDbf[ DBF_ARTICULOS ]\r\n\r\n o[ O_LBX_INVE ]:aColSizes := { 80, 80, 40 }\r\n o[ O_LBX_INVE ]:blDblClick := {|| ( nRecno := (aDbf[ DBF_ARTICULOS ])->( Recno() ), o[ O_DLG_INVE ]:end()) }\r\n o[ O_LBX_INVE ]:blClicked := {|| ( nRecno := (aDbf[ DBF_ARTICULOS ])->( Recno() ), o[ O_DLG_INVE ]:end()) }\r\n \r\n REDEFINE say oSay VAR Csearch ID 600 OF o[ O_DLG_INVE ] readonly\r\n\r\n o[ O_LBX_INVE ]:bKeyChar = { | nKey, nFlags | Search_inv( nKey, @cSearch ), o[ O_LBX_INVE ]:Refresh() ,oSay:Refresh(), o[ O_LBX_INVE ]:setfocus() } \r\n oSay:bKeyChar = { | nKey, nFlags | Search_inv( nKey, @cSearch ), o[ O_LBX_INVE ]:Refresh() ,oSay:Refresh(), o[ O_LBX_INVE ]:setfocus() } \r\n\r\n REDEFINE BUTTON ID 700 OF o[ O_DLG_INVE ] ACTION o[ O_DLG_INVE ]:End()\r\n\t REDEFINE BUTTON ID 800 OF o[ O_DLG_INVE ] ACTION o[ O_DLG_INVE ]:inv_show()\r\n*!* ACTIVATE DIALOG o[ O_DLG_INVE ] CENTERED\r\n\r\n*!* set filt to\r\n*!* select &cAlias2\r\n\r\nRETU nRecno\r\n\r\n*---------------------------\r\nSTATIC FUNCTION Inv_Show()\r\n*---------------------------\r\n local oBmp\r\n DEFINE WINDOW oWnd TITLE \"Presenta Imagen.\"\r\n\r\n*!* // @ 10, 20 BTNBMP RESOURCE \"users\" SIZE 60, 60 ACTION MsgInfo( \"click!\" )\r\n \r\n @ 5, 5 BITMAP oBmp FILENAME \"\\fwppc\\samples\\1KX-82590-01.bmp\" NOBORDER\r\n\r\n oBmp:lTransparent = .t.\r\n\r\n ACTIVATE WINDOW oWnd ;\r\n ON CLICK MsgInfo( \"click!\" )\r\n\r\nreturn nil",
"time": "20:01",
"topic": "Bmp en ListBox",
"username": "Oserrano"
}
] |
Bmp en ListBox
|
[
{
"date": "2008-05-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Oscar:\r\n\r\nCreo que tu problema está en esta línea:\r\nREDEFINE BUTTON ID 800 OF o[ O_DLG_INVE ] ACTION o[ O_DLG_INVE ]:inv_show() \r\nDebería quedar así:\r\nREDEFINE BUTTON ID 800 OF o[ O_DLG_INVE ] ACTION inv_show()\r\n\r\nSaludos.\r\n\r\nManuel Mercado",
"time": "07:27",
"topic": "Bmp en ListBox",
"username": "mmercado"
}
] |
Bmp en ListBox
|
[
{
"date": "2007-09-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estimados, \n\nMuestro un Array con la TXBrowse y necesito poner un Bmp cuando un registro logico tiene .T. o .F. si utilizo la TXBrowse con datos de la DBF directamente funciona bien, pero no logro hacer lo mismo cuando la utilizo con información desde un Array..\n\nalguien me puede echar una mano. Aqui les dijo un compacto de ambos usos:\n\nDirecto de la DBF, Funciona correctamente.\n\n ::oBrw := TXBrowse():New( ::oWnd )\n ::oBrw:cAlias := DBF_GIRBAN:cAlias\n ::oCol := Array( 01 )\n ::oCol[01] := ::oBrw:AddCol()\n ::oCol[01]:cHeader := \"Conciliado\"\n ::oCol[01]:AddResource( \"CHECK_SI\" )\n ::oCol[01]:AddResource( \"CHECK_NO\" )\n ::oCol[01]:bBmpData := { || IF( DBF_GIRBAN:ESTGIR == .T. , 1, 2) }\n ::oCol[01]:BStrData := { || \"\" }\n ::oCol[01]:nWidth := 60\n ::oBrw:CreateFromCode()\n....\n....\nDesde un Array, NO muestra el BMP\n\n WITH OBJECT ::oBrw\n :SetArray( AR_DATOS, .T. )\n WITH OBJECT :aCols[ ESTADO ]\n :cHeader := \"Conciliado\"\n :AddResource( \"CHECK_SI\" )\n :AddResource( \"CHECK_NO\" )\n :bBmpData := { || IF(Len(AR_DATOS) >0, (IF ( AR_DATOS[::oBrw:nArrayAt][ESTGIR] == .T. , 1, 2) ), NIL) }\n :bStrData := { || \"\"}\n :nWidth := 40\n END \n END\n...\n...\nMuchas gracias\n\nsalu2\n\nMauro",
"time": "04:08",
"topic": "Bmp en TXBrowse con Array",
"username": "un_jeepero"
}
] |
Bmp en TXBrowse con Array
|
[
{
"date": "2015-09-27",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Saludos amigos.\n\nTengo un dialog normal con un Bitmap incrustrado. Sobre este bmp, creado con GIMP, he puesto algunos gets (char y numerics). Ahora bien, el problema es el siguiente:\n\n1- Teclas UP, DOWN trabajan bien.\n2- TAB trabaja bien\n3- CLICK del mouse para cambiar de get, NO FUNCIONA. No hace nada. \n\nTrabajo con recursos PELLESC, y he revisado las propiedades, pero no encuentro solucion. Mi Ver FWH es: 1204\n\nAgradezco de antemano, sus sugerencias e ideas de como solucionar esto.\n\nSaludos.",
"time": "18:34",
"topic": "Bmp+get+mouse (SOLUCIONADO)",
"username": "FranciscoA"
}
] |
Bmp+get+mouse (SOLUCIONADO)
|
[
{
"date": "2015-09-27",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Solucionado...!\n<!-- l --><a class=\"postlink-local\" href=\"http://fivetechsupport.com/forums/viewtopic.php?f=6&t=20102&hilit=get+sobre+bitmap&start=15#p107949\">viewtopic.php?f=6&t=20102&hilit=get+sobre+bitmap&start=15#p107949</a><!-- l -->\nSaludos.",
"time": "23:21",
"topic": "Bmp+get+mouse (SOLUCIONADO)",
"username": "FranciscoA"
}
] |
Bmp+get+mouse (SOLUCIONADO)
|
[
{
"date": "2015-05-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Alguien tiene alguna utilidad que realice la tarea contraria?, es decir, coja la cadena hexadecimal y la convierta en fichero .bmp?\nTeniendo en cuenta que tengo la cadena hexadecimal pero no tengo el fichero .bmp",
"time": "16:41",
"topic": "BmpToHex",
"username": "cnavarro"
}
] |
BmpToHex
|
[
{
"date": "2015-05-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "HexToStr()",
"time": "16:44",
"topic": "BmpToHex",
"username": "MGA"
}
] |
BmpToHex
|
[
{
"date": "2015-05-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"SGS\":2m0p9v5y]HexToStr()[/quote:2m0p9v5y]\n\nPues evidente, gracias\nHay dias que nos proponemos reinventar la rueda. <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\n[code=fw:2m0p9v5y]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// BMP to hex definition</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> cBmp := MemoRead<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\o</span>tro.bmp\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> cHex := <span style=\"color: #ff0000;\">\"\"</span>, n, m := <span style=\"color: #000000;\">1</span>, nChar, cChar<br /> <span style=\"color: #00C800;\">local</span> cBmp1 := <span style=\"color: #ff0000;\">\"\"</span><br /><br /> <span style=\"color: #00C800;\">for</span> n = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">(</span> cBmp <span style=\"color: #000000;\">)</span><br /> nChar = <span style=\"color: #0000ff;\">Asc</span><span style=\"color: #000000;\">(</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">(</span> cBmp, n, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> cChar = hb_NumToHex<span style=\"color: #000000;\">(</span> nChar <span style=\"color: #000000;\">)</span><br /> cHex += <span style=\"color: #ff0000;\">\"0x\"</span> + <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> Len<span style=\"color: #000000;\">(</span> cChar <span style=\"color: #000000;\">)</span> == <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"0\"</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span> + cChar + <span style=\"color: #ff0000;\">\", \"</span><br /> <span style=\"color: #00C800;\">if</span> m == <span style=\"color: #000000;\">16</span><br /> cHex += CRLF<br /> m = <span style=\"color: #000000;\">1</span><br /> <span style=\"color: #00C800;\">else</span><br /> m++ <br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">next</span><br /> <br /> cBmp1 := StrTran<span style=\"color: #000000;\">(</span> cHex, <span style=\"color: #ff0000;\">\"0x\"</span>, <span style=\"color: #ff0000;\">\" \"</span> <span style=\"color: #000000;\">)</span><br /> cBmp1 := StrTran<span style=\"color: #000000;\">(</span> cBmp1, <span style=\"color: #ff0000;\">\" \"</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span><br /> cBmp1 := StrTran<span style=\"color: #000000;\">(</span> cBmp1, <span style=\"color: #ff0000;\">\",\"</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span> <br /> cBmp1 := StrTran<span style=\"color: #000000;\">(</span> cBmp1, CRLF, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span><br /><br /> hb_memowrit<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"otro1.bmp\"</span>, HextoStr<span style=\"color: #000000;\">(</span>cBmp1<span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span> <br /> MemoEdit<span style=\"color: #000000;\">(</span> cHex <span style=\"color: #000000;\">)</span><br /><br /> MemoEdit<span style=\"color: #000000;\">(</span> cBmp1 <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /> </div>[/code:2m0p9v5y]",
"time": "18:24",
"topic": "BmpToHex",
"username": "cnavarro"
}
] |
BmpToHex
|
[
{
"date": "2015-05-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "<!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "01:31",
"topic": "BmpToHex",
"username": "MGA"
}
] |
BmpToHex
|
[
{
"date": "2016-03-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "is it possible show a word on menuitem on Bold or one menuitem ?",
"time": "17:05",
"topic": "Bold on Menuitem",
"username": "Silvio.Falconi"
}
] |
Bold on Menuitem
|
[
{
"date": "2016-03-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Silvio, It does not serve him well?\n\n[quote:1j4crqv5]\n\n#xcommand MENUITEM [ <oMenuItem> PROMPT ] [<cPrompt>] ;\n [ MESSAGE <cMsg> ] ;\n [ <checked: CHECK, CHECKED, MARK> ] ;\n [ <enable: ENABLED, DISABLED> ] ;\n [ <file: FILE, FILENAME, DISK> <cBmpFile> ] ;\n [ <resource: RESOURCE, RESNAME, NAME> <cResName> ] ;\n [ ACTION <uAction,...> ] ;\n [ BLOCK <bAction> ] ;\n [ <of: OF, MENU, SYSMENU> <oMenu> ] ;\n [ ACCELERATOR <nState>, <nVirtKey> ] ;\n [ <help: HELP> ] ;\n [ <HelpId: HELP ID, HELPID> <nHelpId> ] ;\n [ WHEN <uWhen> ] ;\n [ <lDegrade: DEGRADE> ] ;\n [ <break: BREAK> ] ;\n [ FONT <oFont> ] ;\n [ COLORMENU [ <nClrMenu>, ] <nClrMenutxt> ] ;\n [ <left: COLORBMP, COLORLEFT, LEFTCOLOR> <nClrToBa> [, <nClrBkBa>] ] ;\n [ <right: COLORPNEL, COLORRIGHT, RIGHTCOLOR> <nClrToBr> [, <nClrBkBr> ] ] ;\n [ COLORSELECT <nClrHiLi>, <nClrHiLf>[, <nClrHitx>] ] ;\n [ COLORSEPARATOR <nClrHiBr> ] ;\n [ <lVert: LINESVERT> ] ;\n [ <lColors: COLORS> ] ;\n [ CHARICON <cCharBmp> ] ;\n [ HSYSBITMAP <hBmp> ] ;\n [ INDEX <nIndex> ] ;\n [ <lRight: RIGHT> ] ;\n [ <lSeparator: SEPARATOR> ] ;\n [b:1j4crqv5][ <lBold: BOLD> ];[/b:1j4crqv5]\n [ <lItalic: ITALIC> ]\n\n[/quote:1j4crqv5]",
"time": "18:37",
"topic": "Bold on Menuitem",
"username": "cnavarro"
}
] |
Bold on Menuitem
|
[
{
"date": "2016-03-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "yes of corse BUT\n\nI wish create this \n\n\"Open [b:18ob2x6m]Bollette[/b:18ob2x6m]\"",
"time": "19:44",
"topic": "Bold on Menuitem",
"username": "Silvio.Falconi"
}
] |
Bold on Menuitem
|
[
{
"date": "2009-08-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello all:\n\nIn my app I have a button bar initialized:\nDEFINE BUTTONBAR oBar SIZE 73.5 ,78 2007 OF oWnd1 \t\t\nWorks fine.\n\nI have text on the bar...so far no problem.\nThis code is coloring the text : oBar:nClrText = nRGB( 0, 0, 128 )...This Works fine\n\nMy question is how can i get the text on the bar in BOLD.\n\nAny help appreciated",
"time": "17:11",
"topic": "Bold text on a button bar",
"username": "hag"
}
] |
Bold text on a button bar
|
[
{
"date": "2009-08-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Harvey,\n\nTry:\n\ndefine font oFont \"Arial\" size 0, -8 bold\n\noBar:setFont( oFont )\n\nJames",
"time": "19:18",
"topic": "Bold text on a button bar",
"username": "James Bott"
}
] |
Bold text on a button bar
|
[
{
"date": "2009-08-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "James:\nDoesnt work. Here is all the code.\n\n[code=fw:1ngbdbi0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #B900B9;\">//Define the button</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBar <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">73.5</span> ,<span style=\"color: #000000;\">46</span> <span style=\"color: #000000;\">2007</span> <span style=\"color: #0000ff;\">OF</span> oWnd1 <br /><br /><span style=\"color: #B900B9;\">// color of text</span><br />oBar:<span style=\"color: #000000;\">nClrText</span> = nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">)</span> <br /><br /><span style=\"color: #B900B9;\">// Define font</span><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont1 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">-8</span> BOLD <br /><br /><span style=\"color: #B900B9;\">// set font as James suggested</span><br />oBar:<span style=\"color: #000000;\">setFont</span><span style=\"color: #000000;\">(</span>ofont1<span style=\"color: #000000;\">)</span> <br /><br /><span style=\"color: #B900B9;\">// color of the obar</span><br /> oBar:<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">178</span>, <span style=\"color: #000000;\">187</span>, <span style=\"color: #000000;\">202</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">137</span>, <span style=\"color: #000000;\">155</span>, <span style=\"color: #000000;\">179</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">129</span>, <span style=\"color: #000000;\">149</span>, <span style=\"color: #000000;\">174</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">114</span>, <span style=\"color: #000000;\">132</span>, <span style=\"color: #000000;\">156</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">139</span>, <span style=\"color: #000000;\">166</span>, <span style=\"color: #000000;\">193</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">69</span>, <span style=\"color: #000000;\">119</span>, <span style=\"color: #000000;\">170</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">52</span>, <span style=\"color: #000000;\">104</span>, <span style=\"color: #000000;\">152</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">107</span>, <span style=\"color: #000000;\">162</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #B900B9;\">// text to be displayed on oBar</span><br /><span style=\"color: #B900B9;\">// displayed fine but not bold.</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"Financial\"</span>+CRLF+<span style=\"color: #ff0000;\">\"Analysis \"</span>+CRLF+<span style=\"color: #ff0000;\">\"No. 1\"</span> <span style=\"color: #0000ff;\">of</span> oBar<br /> </div>[/code:1ngbdbi0]",
"time": "21:29",
"topic": "Bold text on a button bar",
"username": "hag"
}
] |
Bold text on a button bar
|
[
{
"date": "2009-08-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Harvey,\n\nIt looks like you want bold text on the button not the bar. I expect you need to define the button font not the bar font.\n\nJames",
"time": "21:35",
"topic": "Bold text on a button bar",
"username": "James Bott"
}
] |
Bold text on a button bar
|
[
{
"date": "2009-08-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks for getting back to me. I looked in FWH help and it says... define button prompt \"help\" of oBar FONT oFont1... Font oFont1 should work. It doesn't. \n\nAny other ideas?",
"time": "00:32",
"topic": "Bold text on a button bar",
"username": "hag"
}
] |
Bold text on a button bar
|
[
{
"date": "2009-08-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Harvey,\n\nthere are some post, I talked about this problem.\n\nWith more tests on VTitle, I think it is a good Replacement for Buttonbars,\nif You want to do something special and create Your own Buttonbar. \nButton-Actions are added in FWH-0.08 and Tooltips will still be included by Daniel.\n\nAnother Test with [color=#FF0000:n5ogdz8k]BTNBMP[/color:n5ogdz8k] :\n[img:n5ogdz8k]http://www.pflegeplus.com/pictures/vttitle41.jpg[/img:n5ogdz8k]\n\n[code=fw:n5ogdz8k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />...<br />...<br />nSCR0 := GetSysMetrics<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Screen-Width</span><br />nSCR17 := GetSysMetrics<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">17</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Screen-Hight - Title-Height</span><br /> <br /><span style=\"color: #B900B9;\">//Title 4 Vertical ( Right )</span><br /><span style=\"color: #B900B9;\">// Top, Left - Width / Height </span><br />@ <span style=\"color: #000000;\">0</span>, nSCR0 - <span style=\"color: #000000;\">80</span> <span style=\"color: #0000ff;\">TITLE</span> oTitle4 <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">80</span>, nSCR17 <span style=\"color: #0000ff;\">of</span> oWnd SHADOW BOTTOMLEFT SHADOWSIZE <span style=\"color: #000000;\">1</span> TOPRIGHT <br /> <br />@ <span style=\"color: #000000;\">0</span>, nSCR0 - <span style=\"color: #000000;\">95</span> <span style=\"color: #0000ff;\">TITLE</span> oTitle3 <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">15</span>, nSCR17 <span style=\"color: #0000ff;\">of</span> oWnd SHADOW BOTTOMLEFT SHADOWSIZE <span style=\"color: #000000;\">1</span> TOPRIGHT <br /><br />@ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> TITLEIMG <span style=\"color: #0000ff;\">OF</span> oTitle4 BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2X32<span style=\"color: #000000;\">\\k</span>eys.bmp\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">30</span> REFLEX TRANSPARENT ;<br /><span style=\"color: #0000ff;\">ACTION</span> Msgalert<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Button 1\"</span><span style=\"color: #000000;\">)</span><br />@ <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">20</span> TITLETEXT <span style=\"color: #0000ff;\">OF</span> oTitle4 <span style=\"color: #0000ff;\">TEXT</span> <span style=\"color: #ff0000;\">\"Button 1\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont2 <span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK <br /> <br />@ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">20</span> TITLEIMG <span style=\"color: #0000ff;\">OF</span> oTitle4 BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\A</span>lphaBmp<span style=\"color: #000000;\">\\e</span>xplorer.BMP\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">30</span> REFLEX ANIMA<br />@ <span style=\"color: #000000;\">160</span>, <span style=\"color: #000000;\">20</span> TITLETEXT <span style=\"color: #0000ff;\">OF</span> oTitle4 <span style=\"color: #0000ff;\">TEXT</span> <span style=\"color: #ff0000;\">\"Button 2\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont2 <span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK <br /> <br />@ <span style=\"color: #000000;\">190</span>, <span style=\"color: #000000;\">15</span> TITLEIMG <span style=\"color: #0000ff;\">OF</span> oTitle4 BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\A</span>lphaBmp<span style=\"color: #000000;\">\\m</span>ovie.BMP\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">60</span> ANIMA LEVEL <span style=\"color: #000000;\">100</span><br />@ <span style=\"color: #000000;\">250</span>, <span style=\"color: #000000;\">20</span> TITLETEXT <span style=\"color: #0000ff;\">OF</span> oTitle4 <span style=\"color: #0000ff;\">TEXT</span> <span style=\"color: #ff0000;\">\"Button 3\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont2 <span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK <br /> <br />@ <span style=\"color: #000000;\">280</span>, <span style=\"color: #000000;\">15</span> TITLEIMG <span style=\"color: #0000ff;\">OF</span> oTitle4 BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\A</span>lphaBmp<span style=\"color: #000000;\">\\m</span>ovie.bmp\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">60</span> ANIMA LEVEL <span style=\"color: #000000;\">255</span><br />@ <span style=\"color: #000000;\">340</span>, <span style=\"color: #000000;\">20</span> TITLETEXT <span style=\"color: #0000ff;\">OF</span> oTitle4 <span style=\"color: #0000ff;\">TEXT</span> <span style=\"color: #ff0000;\">\"Button 4\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont2 <span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK <br /> <br />@ <span style=\"color: #000000;\">370</span>, <span style=\"color: #000000;\">20</span> TITLEIMG <span style=\"color: #0000ff;\">OF</span> oTitle4 BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\A</span>lphaBmp<span style=\"color: #000000;\">\\e</span>xplorer.BMP\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">30</span> REFLEX ANIMA<br />@ <span style=\"color: #000000;\">430</span>, <span style=\"color: #000000;\">20</span> TITLETEXT <span style=\"color: #0000ff;\">OF</span> oTitle4 <span style=\"color: #0000ff;\">TEXT</span> <span style=\"color: #ff0000;\">\"Button 5\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont2 <span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK <br /> <br />@ <span style=\"color: #000000;\">460</span>, <span style=\"color: #000000;\">20</span> TITLEIMG <span style=\"color: #0000ff;\">OF</span> oTitle4 BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2X32<span style=\"color: #000000;\">\\k</span>eys.bmp\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">30</span> REFLEX TRANSPARENT <br />@ <span style=\"color: #000000;\">520</span>, <span style=\"color: #000000;\">20</span> TITLETEXT <span style=\"color: #0000ff;\">OF</span> oTitle4 <span style=\"color: #0000ff;\">TEXT</span> <span style=\"color: #ff0000;\">\"Button 6\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont2 <span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK <br /> <br /><span style=\"color: #B900B9;\">// @ 550, 20 TITLEIMG OF oTitle4 BITMAP \".\\bitmaps\\AlphaBmp\\explorer.BMP\" SIZE 30, 30 REFLEX ANIMA</span><br /><span style=\"color: #B900B9;\">// @ 610, 20 TITLETEXT OF oTitle4 TEXT \"Button 7\" FONT oFont2 COLOR CLR_BLACK </span><br /> <br /><span style=\"color: #B900B9;\">// replacement of => Button 7</span><br /><span style=\"color: #B900B9;\">// -------------------------------</span><br />@ <span style=\"color: #000000;\">550</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn1 <span style=\"color: #0000ff;\">OF</span> oTitle4 <span style=\"color: #000000;\">2007</span> ;<br /><span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">75</span>, <span style=\"color: #000000;\">75</span> ;<br />FILENAME <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2X32<span style=\"color: #000000;\">\\k</span>eys.bmp\"</span> ;<br /><span style=\"color: #0000ff;\">ACTION</span> MsgAlert<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Button-Click\"</span>, <span style=\"color: #ff0000;\">\"Button 1\"</span> <span style=\"color: #000000;\">)</span> ;<br /><span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"But.1\"</span> ;<br /><span style=\"color: #0000ff;\">FONT</span> oButtFont ;<br />TOP <br />oBtn1:<span style=\"color: #000000;\">lTransparent</span> := .t. <br />oBtn1:<span style=\"color: #000000;\">cTooltip</span> := <span style=\"color: #ff0000;\">\"Button1\"</span><br />oBtn1:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">)</span><br /><br />oTitle4:<span style=\"color: #000000;\">lRound</span> := .F.<br />oTitle4:<span style=\"color: #000000;\">aGrdBack</span> = <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.9</span>, <span style=\"color: #000000;\">15851661</span>, <span style=\"color: #000000;\">16708826</span> <span style=\"color: #000000;\">}</span>,<span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.9</span>, <span style=\"color: #000000;\">16708826</span>, <span style=\"color: #000000;\">15851661</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br />oTitle3:<span style=\"color: #000000;\">lRound</span> := .F.<br />oTitle3:<span style=\"color: #000000;\">aGrdBack</span> = <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.1</span>, <span style=\"color: #000000;\">15851661</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">}</span>,<span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.1</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">15851661</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br />...<br />...<br /> </div>[/code:n5ogdz8k]\n\nBest Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "09:52",
"topic": "Bold text on a button bar",
"username": "ukoenig"
}
] |
Bold text on a button bar
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.