messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2015-07-05", "forum": "FiveWin for Harbour/xHarbour", "text": "DEFINE DIALOG oDlg .............STYLE <yourstyle>", "time": "11:20", "topic": "Can I change the DIALOG TITLE to Non-Standard Windows?", "username": "nageswaragunupudi" } ]
Can I change the DIALOG TITLE to Non-Standard Windows?
[ { "date": "2015-07-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr.Rao,\n\nIf I need like this, how do I make it in DEFINE ... STYLE...?\n\n[img:l6prhpkq]https&#58;//www&#46;img&#46;in&#46;th/images/8e3f5f8a8b2f705d8fadb013653b6742&#46;png[/img:l6prhpkq]", "time": "11:36", "topic": "Can I change the DIALOG TITLE to Non-Standard Windows?", "username": "dutch" } ]
Can I change the DIALOG TITLE to Non-Standard Windows?
[ { "date": "2015-07-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Dutch,\n\nPlease review FWH\\samples\\skin1.prg and skin2.prg", "time": "13:57", "topic": "Can I change the DIALOG TITLE to Non-Standard Windows?", "username": "Antonio Linares" } ]
Can I change the DIALOG TITLE to Non-Standard Windows?
[ { "date": "2015-07-05", "forum": "FiveWin for Harbour/xHarbour", "text": "And\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=6&t=30870#p177769\">viewtopic.php?f=6&t=30870#p177769</a><!-- l -->\n\nwith class TTitle", "time": "21:21", "topic": "Can I change the DIALOG TITLE to Non-Standard Windows?", "username": "cnavarro" } ]
Can I change the DIALOG TITLE to Non-Standard Windows?
[ { "date": "2015-07-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear All,\n\nI mean, I need to change existing program with define function. I try to change by put a function after define dialog. The problem is the STYLE will remove the TITLE and cut the TITLE space out too. Can I use STYLE and the size is the same? Then I can make the (our title style) TITLE in the same place of DIALOG TITLE.\n\nThis idea for migrate the existing program to new style without modify all DIALOGs.\n\n[url=http&#58;//postimage&#46;org/:1cdnb24i][img:1cdnb24i]http&#58;//s3&#46;postimg&#46;org/3pa4zgy2b/newdlg&#46;png[/img:1cdnb24i][/url:1cdnb24i]\nThanks for an idea.", "time": "03:43", "topic": "Can I change the DIALOG TITLE to Non-Standard Windows?", "username": "dutch" } ]
Can I change the DIALOG TITLE to Non-Standard Windows?
[ { "date": "2015-07-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Dutch,\n\nYou need to resize all dialogs doing:\n\noDlg:Resize( oDlg:nWidth, oDlg:nHeight + 30 )\n\nthen finally, you have to move all controls downwards:\n\nAEval( oDlg:aControls, { | oCtrl | oCtrl:SetPos( oCtrl:nTop + 30, oCtrl:nLeft ) } )\n\nIf you need to move controls that don't use REDEFINE, then I will show you how to do it.\nIts similar, but we can't use oDlg:aControls.", "time": "06:56", "topic": "Can I change the DIALOG TITLE to Non-Standard Windows?", "username": "Antonio Linares" } ]
Can I change the DIALOG TITLE to Non-Standard Windows?
[ { "date": "2015-07-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Antonio,\n\nIf the change will effect with display speed, I don't need it. Because it will make the program slower, if there are many control in a Dialog.", "time": "16:33", "topic": "Can I change the DIALOG TITLE to Non-Standard Windows?", "username": "dutch" } ]
Can I change the DIALOG TITLE to Non-Standard Windows?
[ { "date": "2007-03-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear All,\n\nOne of my client is an old one and he finds it difficult to make out the report in our Report preview dialog. He wants to view the report in slightly bigger size (bigger than 1 and smaller than 2) and with a cursor like line which show which is the current line. He tend to mix two lines when report is horizontally long.\n\nIn nut shell, is there any alternate viewer I can use only in this case.\n\nTIA\n\nMilanl", "time": "16:39", "topic": "Can I change the report viewer ?", "username": "Milan Mehta" } ]
Can I change the report viewer ?
[ { "date": "2007-03-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Milan,\n\nTo provide a different magnification you can modify the RPREVIEW.PRG file.\n\nTo get a highlight is more difficult. One way would be to print the report to a file, create a temp dbf with a single wide field, then read the report file and post one line to each record of the browse. Finally browse the temp.dbf with a browser with the cell lines turned off.\n\nI don't know what your report looks like but if it is simple list, I would just create a browse instead of generating a report. Let the user just browse the data they want to see. You might be able to just set an index and scope on an existing DBF or create a temp dbf if you must.\n\nJames", "time": "16:56", "topic": "Can I change the report viewer ?", "username": "James Bott" } ]
Can I change the report viewer ?
[ { "date": "2007-03-12", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Milan Mehta\":2q3k3obd][...] and with a cursor like line which show which is the current line. He tend to mix two lines when report is horizontally long.[/quote:2q3k3obd]\n\nCan't you just activate lSeparator (or similar) to draw horizontal lines separating the report lines?\n\nEMG", "time": "17:19", "topic": "Can I change the report viewer ?", "username": "Enrico Maria Giordano" } ]
Can I change the report viewer ?
[ { "date": "2007-03-12", "forum": "FiveWin for Harbour/xHarbour", "text": "For a hair cross you should try:\nrpreview.prg \noMeta1:bMMoved:={|y,x,flags| oMeta1:line (y,0,y,500) }\nBut there is some extra work to save/restore the screen.\nOtto\n\nrpreview.prg \noMeta1:bMMoved:={|y,x,flags| oMeta1:line (y,0,y,500) }\n\n\n oMeta1 := TMetaFile():New( 0, 0, 0, 0,;\n aFiles[1],;\n oWnd,;\n CLR_BLACK,;\n CLR_WHITE,;\n oDevice:nHorzRes(),;\n oDevice:nVertRes() )\n\n oMeta1:oCursor := oCursor", "time": "19:18", "topic": "Can I change the report viewer ?", "username": "Otto" } ]
Can I change the report viewer ?
[ { "date": "2007-03-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nHairCross Cursor is working:\n\nInsert \n \noMeta1:bMMoved:={|y,x,flags|hairCross(oMeta1,y,x) }\n\nin FUNCTION RPreview( oDevice ) in rpreview.prg.\n\nfunc hairCross(oMeta1,y,x)\n nCount:=nCount+1\n IF nCount > 5\n nCount:=0\n oMeta1:refresh()\n sysrefresh()\n oMeta1:line (0,x,1800,x)\n oMeta1:line (y,0,y,1500)\n ENDIF\nreturn nil\n\n\n\n\nBut could someone please tell me how to save and restore a part of the canvas / screen.\n\n\noMeta1:bMMoved:={|y,x,flags| hairCross(y,x, oMeta1)}\n\n\nDim ScreenSave\n\nfunc hairCross(x,y, oMeta1)\n\nrestore = ScreenSave\n\nScreenSave = save part of the screen where you draw the new line\n\noMeta1:line (y,0,y,500)\n\nreturn nil\n\nOtto", "time": "10:53", "topic": "Can I change the report viewer ?", "username": "Otto" } ]
Can I change the report viewer ?
[ { "date": "2007-03-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Milan,\n\nAn interesting feature we found in Crystal Report were you can navigate in the report page like a browse.\nMany months ago I tryed to adapt it to RPreview but without success <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\nIf anybody know how...\nBut I think Otto's idea very good.\n\nRegards\nMaurilio", "time": "14:16", "topic": "Can I change the report viewer ?", "username": "Maurilio Viana" } ]
Can I change the report viewer ?
[ { "date": "2014-05-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear All,\n\nI would like to open the free database in 2 ADS in the same time but it has show ADSCDX/5024 error message. \nCan I do that?", "time": "08:16", "topic": "Can I connect 2 ADS in the same time?", "username": "dutch" } ]
Can I connect 2 ADS in the same time?
[ { "date": "2014-05-28", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"dutch\":35ewsqo9]Dear All,\n\nI would like to open the free database in 2 ADS in the same time but it has show ADSCDX/5024 error message. \nCan I do that?[/quote:35ewsqo9]\nFor you to open several connections must use data dictionary ads, so you can open the connection by setting the handle. \nYesterday I launched tads 2.0, all these features are already available in it. \nTake a look at\n\n[url:35ewsqo9]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=28518[/url:35ewsqo9]", "time": "14:13", "topic": "Can I connect 2 ADS in the same time?", "username": "Giovany Vecchi" } ]
Can I connect 2 ADS in the same time?
[ { "date": "2014-05-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Giovany, I will try.\n[quote=\"Giovany Vecchi\":2mi4m3rk][quote=\"dutch\":2mi4m3rk]Dear All,\n\nI would like to open the free database in 2 ADS in the same time but it has show ADSCDX/5024 error message. \nCan I do that?[/quote:2mi4m3rk]\nFor you to open several connections must use data dictionary ads, so you can open the connection by setting the handle. \nYesterday I launched tads 2.0, all these features are already available in it. \nTake a look at\n\n[url:2mi4m3rk]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=28518[/url:2mi4m3rk][/quote:2mi4m3rk]", "time": "02:37", "topic": "Can I connect 2 ADS in the same time?", "username": "dutch" } ]
Can I connect 2 ADS in the same time?
[ { "date": "2008-11-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi all\r\n\r\nAs per subject.\r\n\r\nRegards.,\r\n\r\nRamesh Babu P", "time": "14:39", "topic": "Can I get an example of tsbrowse+ADS+TDatabase objects", "username": "RAMESHBABU" } ]
Can I get an example of tsbrowse+ADS+TDatabase objects
[ { "date": "2008-11-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Hello Mr.Manuel Mercado and Friends,\r\n\r\nAs per subject.\r\n\r\n- Ramesh Babu P", "time": "07:07", "topic": "Can I get an example of tsbrowse+ADS+TDatabase objects", "username": "RAMESHBABU" } ]
Can I get an example of tsbrowse+ADS+TDatabase objects
[ { "date": "2008-11-08", "forum": "FiveWin for Harbour/xHarbour", "text": "// Create the BROWSE\r\n REDEFINE BROWSE oLbxin ID 716 OF oDiw ON CHANGE oDiw:update( ) UPDATE\r\n oLbxin:setoDBF( oInv )\r\n add column to oLbxin header \"Part\" data oInv:invnum ALIGN 0,1 size 150\r\n add column to oLbxin Header \"Description\" data oInv:invdes ALIGN 0,1 size 300\r\n add column to oLbxin header \"Cross Ref.\" data oInv:invcod ALIGN 0,1 size 150\r\n add column to oLbxin header \"On Hand\" data oInv:invstk ALIGN 2,1 size 90\r\n add column to oLbxin Header \"Charge\" data oInv:invchg ALIGN 2,1 size 90\r\n add column to oLbxin Header \"Location\" data oInv:invloc ALIGN 0,1 size 90\r\n oLbxin:nLineStyle:=0\r\n oLbxin:nHeightCell += 4\r\n oLbxin:nHeightHead += 6\r\n oLbxin:lNoHScroll := .T.\r\n oLbxin:setColor( {1}, {CLR_BROWSETEXT} ) // cell text color\r\n oLbxin:setColor( {4}, {{ CLR_HEADERTOP, CLR_HEADERBOT }} ) // degraded headers background color\r\n oLbxin:setColor( {14}, {{ CLR_HEADERTOP, CLR_HEADERBOT }} ) // degraded headers background color\r\n // Show alternating color in rows\r\n lClrFlag:=.f.\r\n oLbxin:bSkip := {|nRecs| nRecs := oInv:skipper( nRecs) }\r\n oLbxin:setColor( {2}, {{|| IIF(ADSKeyNo() % 2 == 0, CLR_PANE1, CLR_PANE2 ) }} )", "time": "02:24", "topic": "Can I get an example of tsbrowse+ADS+TDatabase objects", "username": "TimStone" } ]
Can I get an example of tsbrowse+ADS+TDatabase objects
[ { "date": "2008-11-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr.Tim,\r\n\r\nThank you very much. This is what exactly what I am looking for.\r\n\r\nRegards,\r\n\r\n- Ramesh Babu P", "time": "06:27", "topic": "Can I get an example of tsbrowse+ADS+TDatabase objects", "username": "RAMESHBABU" } ]
Can I get an example of tsbrowse+ADS+TDatabase objects
[ { "date": "2023-04-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nI have two application of uses fwh. \n\nFirst one is testfont.prg that is changed a little bit in fwh sample directory.\n[code=fw:j23hhqmh]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">// Testing fonts</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oWnd, fntArial, oSay<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">80</span> ;<br />      <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Testing Fonts\"</span><br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> fntArial <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-25</span><br /><br />   @ <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Hello world\"</span> <span style=\"color: #0000ff;\">FONT</span> fntArial <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">180</span>, <span style=\"color: #000000;\">80</span><br />   oWnd:<span style=\"color: #000000;\">cargo</span>:=oSay<br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br />   fntArial:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span></div>[/code:j23hhqmh]\n\nSecond is \n[code=fw:j23hhqmh]<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: #B900B9;\">// run testfont.prg before this</span><br /><br /><br />PROCEDURE Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">local</span> oFont, oWnd, oBtn<br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-25</span>   <br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">80</span> ;<br />      <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"My Test Windows\"</span> <br /><br />    @ <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Change Hello World to HeyHeyHey\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">500</span>,<span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">font</span> oFont <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">ACTION</span> MyAction<span style=\"color: #000000;\">&#40;</span>oWnd<span style=\"color: #000000;\">&#41;</span><br />    oWnd:<span style=\"color: #000000;\">cargo</span> := oBtn<br /><br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <br /><span style=\"color: #00C800;\">RETURN</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MyAction<span style=\"color: #000000;\">&#40;</span>oWnd<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> cTestApp := <span style=\"color: #ff0000;\">\"Testing Fonts\"</span>, hWnd, hWnd_W, oWnd1<br />    <span style=\"color: #B900B9;\">//MsgInfo(\"Button pressed\")</span><br />    <br />    hWnd := FindWindow<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, cTestApp<span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">IF</span> !EMPTY<span style=\"color: #000000;\">&#40;</span>hWnd<span style=\"color: #000000;\">&#41;</span><br />    ? <span style=\"color: #ff0000;\">\"FOUND\"</span>, hWnd, cTestApp <br />        BringWindowToTop<span style=\"color: #000000;\">&#40;</span> hWnd <span style=\"color: #000000;\">&#41;</span><br />        hWnd_W := GetWindow<span style=\"color: #000000;\">&#40;</span>hWnd,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />        ? hWnd, hWnd_W, <span style=\"color: #ff0000;\">\"hWnd, hWnd from GetWindow()\"</span><br />        <br />         <br />        oWnd1 := oWndFromhWnd<span style=\"color: #000000;\">&#40;</span>hWnd<span style=\"color: #000000;\">&#41;</span><br />        xbrowser oWnd1 <br />        ? oWnd1, oWnd1 == <span style=\"color: #00C800;\">nil</span><br /><br />        <span style=\"color: #00C800;\">IF</span> oWnd1 != <span style=\"color: #00C800;\">nil</span><br />            oWnd1:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />            oWnd1:<span style=\"color: #000000;\">ocargo</span>:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"HeyHeyHey\"</span><span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #00C800;\">ENDIF</span><br />    <span style=\"color: #00C800;\">ELSE</span><br />        MsgAlert<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Run testfont app before pressing button.\"</span><span style=\"color: #000000;\">&#41;</span>    <br />    <span style=\"color: #00C800;\">ENDIF</span>   <br />    <br />    <br /><span style=\"color: #00C800;\">RETURN</span> .T.</div>[/code:j23hhqmh]\n\nThese can be builded via buildh32.bat in sample directory.\n\nFirst run testfont application. then run MyWTest1 application. I want to change say prompt \"Hello World\" text in testfont to \"HeyHeyHey\" from pressing in MyTestTest1 application. I can not found the object. \n\nI think oWndfromhWnd() function can only find objects within the same application.\n\nIs there any idea?\nThanks.", "time": "12:20", "topic": "Can I get object from handle?", "username": "Horizon" } ]
Can I get object from handle?
[ { "date": "2023-04-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Sorry, I didn't quite understand your question.\n\nRegards.", "time": "13:11", "topic": "Can I get object from handle?", "username": "karinha" } ]
Can I get object from handle?
[ { "date": "2023-04-13", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"karinha\":1gkqlqlq]Sorry, I didn't quite understand your question.\n\nRegards.[/quote:1gkqlqlq]\nI have 2 applications compiled with fwh. the first one has a \"SAY\" object. the other has a button. When I press the button from the other program, I want to change the text of the say object in the first program.", "time": "13:18", "topic": "Can I get object from handle?", "username": "Horizon" } ]
Can I get object from handle?
[ { "date": "2023-04-13", "forum": "FiveWin for Harbour/xHarbour", "text": "[code=fw:45vfkrqo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// C:\\FWH..\\SAMPLES\\HORIZON1.PRG</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00D7D7;\">#Define</span> CLR_ORANGE &nbsp; &nbsp; nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">165</span>, <span style=\"color: #000000;\">000</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Change_Horizon<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> oBtn, oSay, oFont<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> oWnd, FntArial, cSay := <span style=\"color: #ff0000;\">\"Hello world\"</span> + SPACE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">30</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;SET DATE <span style=\"color: #0000ff;\">TO</span> AMERICAN<br /><br />&nbsp; &nbsp;HB_GCALL<span style=\"color: #000000;\">&#40;</span> .F. <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> fntArial <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-25</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont &nbsp; &nbsp;<span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-30</span> BOLD<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <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;\">20</span>, <span style=\"color: #000000;\">80</span> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Change SAY in Time Real\"</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">7.50</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">VAR</span> cSay <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">500</span>, <span style=\"color: #000000;\">80</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">UPDATE</span> &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; COLORS CLR_ORANGE, CLR_WHITE TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Change Hello World to HeyHeyHey\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">500</span>, <span style=\"color: #000000;\">30</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">FONT</span> FntArial <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span> Cambia_Horizon<span style=\"color: #000000;\">&#40;</span> oSay <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">CENTERED</span><br /><br />&nbsp; &nbsp;fntArial:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oFont:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;HB_GCALL<span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;CLEAR MEMORY<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><span style=\"color: #B900B9;\">// Change_Horizon</span><br /><span style=\"color: #00C800;\">FUNCTION</span> Cambia_Horizon<span style=\"color: #000000;\">&#40;</span> oSay <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> NewSay := SPACE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">50</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;NewSay := <span style=\"color: #ff0000;\">\"HeyHeyHey Horizon: \"</span> + DTOC<span style=\"color: #000000;\">&#40;</span> Date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oSay:<span style=\"color: #000000;\">VARPUT</span><span style=\"color: #000000;\">&#40;</span> NewSay <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oSay:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span> CLR_MAGENTA, CLR_WHITE <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">// FIN / END</span><br />&nbsp;</div>[/code:45vfkrqo]\n\nRegards, saludos.", "time": "14:54", "topic": "Can I get object from handle?", "username": "karinha" } ]
Can I get object from handle?
[ { "date": "2023-04-13", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:39drr45o]I think oWndfromhWnd() function can only find objects within the same application.\n[/quote:39drr45o]\n\nYes, you are right.", "time": "14:55", "topic": "Can I get object from handle?", "username": "nageswaragunupudi" } ]
Can I get object from handle?
[ { "date": "2023-04-13", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"karinha\":3cgp5lm6][code=fw:3cgp5lm6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// C:\\FWH..\\SAMPLES\\HORIZON1.PRG</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00D7D7;\">#Define</span> CLR_ORANGE     nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">165</span>, <span style=\"color: #000000;\">000</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Change_Horizon<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">LOCAL</span> oBtn, oSay, oFont<br />   <span style=\"color: #00C800;\">LOCAL</span> oWnd, FntArial, cSay := <span style=\"color: #ff0000;\">\"Hello world\"</span> + SPACE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">30</span><span style=\"color: #000000;\">&#41;</span><br /><br />   SET DATE <span style=\"color: #0000ff;\">TO</span> AMERICAN<br /><br />   HB_GCALL<span style=\"color: #000000;\">&#40;</span> .F. <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> fntArial <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-25</span><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont    <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-30</span> BOLD<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <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;\">20</span>, <span style=\"color: #000000;\">80</span> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Change SAY in Time Real\"</span><br /><br />   @ <span style=\"color: #000000;\">7.50</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">VAR</span> cSay <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">500</span>, <span style=\"color: #000000;\">80</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">UPDATE</span>       ;<br />      COLORS CLR_ORANGE, CLR_WHITE TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br /><br />   @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Change Hello World to HeyHeyHey\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">500</span>, <span style=\"color: #000000;\">30</span> ;<br />      <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">FONT</span> FntArial <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span> Cambia_Horizon<span style=\"color: #000000;\">&#40;</span> oSay <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">CENTERED</span><br /><br />   fntArial:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   oFont:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   HB_GCALL<span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br /><br />   CLEAR MEMORY<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><span style=\"color: #B900B9;\">// Change_Horizon</span><br /><span style=\"color: #00C800;\">FUNCTION</span> Cambia_Horizon<span style=\"color: #000000;\">&#40;</span> oSay <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">LOCAL</span> NewSay := SPACE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">50</span><span style=\"color: #000000;\">&#41;</span><br /><br />   NewSay := <span style=\"color: #ff0000;\">\"HeyHeyHey Horizon: \"</span> + DTOC<span style=\"color: #000000;\">&#40;</span> Date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   oSay:<span style=\"color: #000000;\">VARPUT</span><span style=\"color: #000000;\">&#40;</span> NewSay <span style=\"color: #000000;\">&#41;</span><br /><br />   oSay:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span> CLR_MAGENTA, CLR_WHITE <span style=\"color: #000000;\">&#41;</span><br />   oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">// FIN / END</span><br /> </div>[/code:3cgp5lm6]\n\nRegards, saludos.[/quote:3cgp5lm6]\n\nI guess I didn't explain my problem. I want to do it between 2 different applications.", "time": "15:12", "topic": "Can I get object from handle?", "username": "Horizon" } ]
Can I get object from handle?
[ { "date": "2023-04-13", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"nageswaragunupudi\":tz8zo67d][quote:tz8zo67d]I think oWndfromhWnd() function can only find objects within the same application.\n[/quote:tz8zo67d]\n\nYes, you are right.[/quote:tz8zo67d]\n\nHi Mr. Rao,\n\nIs it possible to save the oWnd object in first application and read it from second application. With this read information, do I have a chance to use this object as if it was created in the second application?\n\nI'm building both apps myself.\n\nThanks.", "time": "15:19", "topic": "Can I get object from handle?", "username": "Horizon" } ]
Can I get object from handle?
[ { "date": "2023-04-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Switching from one to another calling from one EXECUTABLE to the other, I believe it is impossible. maybe, if you create a database or a *.TXT and change it into an .exe and call it from the other, you know?\n\nPasar de uno a otro llamando de un EJECUTABLE a otro, creo que es imposible. tal vez, si creas una base de datos o un *.TXT y lo cambias a un .exe y lo llamas desde el otro, ¿sabes?\n\nSorry I can't be of more help.\n\nRegards, saludos.", "time": "15:22", "topic": "Can I get object from handle?", "username": "karinha" } ]
Can I get object from handle?
[ { "date": "2023-04-13", "forum": "FiveWin for Harbour/xHarbour", "text": "An idea, do you have access to the sources of the two programs? If yes, I think you will be able to pass VIA PARAMETER, not sure.\n\nUna idea, tienes acceso a las fuentes de los dos programas? En caso afirmativo, creo que podrá pasar VIA PARÁMETRO, no estoy seguro.\n\nRegards, saludos.", "time": "16:10", "topic": "Can I get object from handle?", "username": "karinha" } ]
Can I get object from handle?
[ { "date": "2023-04-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi, Horizon !\n\nYou can do this. In the [b:30r71k4z]TSAY[/b:30r71k4z] application in the window method [b:30r71k4z]::handleEvent()[/b:30r71k4z] describing the processing of a unique event.\nFor example:\n if valtype(nMsg)=\"C\"\n oDlg:AControls[1]:SetText(msg) \n return\nendif\n::Super...\nFrom the application with the [b:30r71k4z]button[/b:30r71k4z] we find the handle of the window with TSAY\n hWn:=FindWindow() and send him a [b:30r71k4z]PostMessage[/b:30r71k4z](hWn, \"myText\")", "time": "18:00", "topic": "Can I get object from handle?", "username": "Natter" } ]
Can I get object from handle?
[ { "date": "2023-04-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Hakan,\n\nHere you have it using EnumChildWindows()\n\nYou can also query the control for its ID or class\n\nsecond.prg\n[code=fw:mnixvne8]<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: #B900B9;\">// run first.prg before this</span><br /><br />PROCEDURE Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">local</span> oFont, oWnd, oBtn<br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-25</span>  <br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">80</span> ;<br />      <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"My Test Windows\"</span><br /><br />    @ <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Change Hello World to HeyHeyHey\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">500</span>,<span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">font</span> oFont <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">ACTION</span> MyAction<span style=\"color: #000000;\">&#40;</span>oWnd<span style=\"color: #000000;\">&#41;</span><br />    oWnd:<span style=\"color: #000000;\">cargo</span> := oBtn<br /><br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><span style=\"color: #00C800;\">RETURN</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MyAction<span style=\"color: #000000;\">&#40;</span>oWnd<span style=\"color: #000000;\">&#41;</span><br />   <br />    <span style=\"color: #00C800;\">LOCAL</span> cTestApp := <span style=\"color: #ff0000;\">\"Testing Fonts\"</span>, hWnd<br />   <br />    hWnd := FindWindow<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, cTestApp<span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #00C800;\">IF</span> ! EMPTY<span style=\"color: #000000;\">&#40;</span>hWnd<span style=\"color: #000000;\">&#41;</span><br />       BringWindowToTop<span style=\"color: #000000;\">&#40;</span> hWnd <span style=\"color: #000000;\">&#41;</span><br />       EnumChildWindows<span style=\"color: #000000;\">&#40;</span> hWnd,;<br />           <span style=\"color: #000000;\">&#123;</span> | hCtrl | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> GetWindowText<span style=\"color: #000000;\">&#40;</span> hCtrl <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"Hello world\"</span>,;<br />                           <span style=\"color: #000000;\">&#40;</span> SetWindowText<span style=\"color: #000000;\">&#40;</span> hCtrl, <span style=\"color: #ff0000;\">\"HeyHeyHey\"</span> <span style=\"color: #000000;\">&#41;</span>, InvalidateRect<span style=\"color: #000000;\">&#40;</span> hCtrl, .T. <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">ELSE</span><br />        MsgAlert<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Run testfont app before pressing button.\"</span><span style=\"color: #000000;\">&#41;</span>   <br />    <span style=\"color: #00C800;\">ENDIF</span>   <br />   <br />   <br /><span style=\"color: #00C800;\">RETURN</span> .T.</div>[/code:mnixvne8]", "time": "19:20", "topic": "Can I get object from handle?", "username": "Antonio Linares" } ]
Can I get object from handle?
[ { "date": "2023-04-14", "forum": "FiveWin for Harbour/xHarbour", "text": "hi,\n\nwhen have only 1 x Control you can use FindWindowEx() \"inside\" FindWindow()\n[url:21vw0jcx]https&#58;//learn&#46;microsoft&#46;com/en-us/windows/win32/api/winuser/nf-winuser-findwindowexa[/url:21vw0jcx]\n[url:21vw0jcx]https&#58;//learn&#46;microsoft&#46;com/en-us/windows/win32/api/winuser/nf-winuser-findwindowexw[/url:21vw0jcx]\n\n3rd Parameter \"lpszClass\" need (Windows) CLASS Name\ni guess SAY -> \"WC_STATIC\" (or \"STATIC\")\n\nwhen got Handle of Control\n[code=fw:21vw0jcx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">   SetWindowText<span style=\"color: #000000;\">&#40;</span> hCtrl, <span style=\"color: #ff0000;\">\"HeyHeyHey\"</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:21vw0jcx]\n\n---\n\nwhen you want to \"send\" to other App where you have no Source than you need a Tool like WinID or WinSPY\n[url:21vw0jcx]https&#58;//dennisbabkin&#46;com/winid/[/url:21vw0jcx]\n[url:21vw0jcx]https&#58;//sourceforge&#46;net/projects/winspyex/[/url:21vw0jcx]\n\nyou will get Information for Windows Class Name and also Control ID ( not for SAY = WC_STATIC )", "time": "06:03", "topic": "Can I get object from handle?", "username": "Jimmy" } ]
Can I get object from handle?
[ { "date": "2023-04-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello ;\n\nAnother idea would be to generate a \"network wide message\" anytime an event is triggered. Then have your apps listen for that message on another thread. If the message is received, then update the object being displayed or execute whatever code to handle the message.\n\nI know this is not exactly what you are asking but it might be a possible solution. \n\nI do this a lot using triggers on tables to display status, sums, and other information in realtime without having to query the database.\n\nJust an idea,\n\n\nReinaldo.", "time": "18:25", "topic": "Can I get object from handle?", "username": "reinaldocrespo" } ]
Can I get object from handle?
[ { "date": "2023-04-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you to all for your ideas.\n\nI will check and write results here.", "time": "09:50", "topic": "Can I get object from handle?", "username": "Horizon" } ]
Can I get object from handle?
[ { "date": "2023-04-17", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":2aruuexm]Dear Hakan,\n\nHere you have it using EnumChildWindows()\n\nYou can also query the control for its ID or class\n\nsecond.prg\n[code=fw:2aruuexm]<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: #B900B9;\">// run first.prg before this</span><br /><br />PROCEDURE Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">local</span> oFont, oWnd, oBtn<br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-25</span>  <br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">80</span> ;<br />      <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"My Test Windows\"</span><br /><br />    @ <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Change Hello World to HeyHeyHey\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">500</span>,<span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">font</span> oFont <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">ACTION</span> MyAction<span style=\"color: #000000;\">&#40;</span>oWnd<span style=\"color: #000000;\">&#41;</span><br />    oWnd:<span style=\"color: #000000;\">cargo</span> := oBtn<br /><br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><span style=\"color: #00C800;\">RETURN</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MyAction<span style=\"color: #000000;\">&#40;</span>oWnd<span style=\"color: #000000;\">&#41;</span><br />   <br />    <span style=\"color: #00C800;\">LOCAL</span> cTestApp := <span style=\"color: #ff0000;\">\"Testing Fonts\"</span>, hWnd<br />   <br />    hWnd := FindWindow<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, cTestApp<span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #00C800;\">IF</span> ! EMPTY<span style=\"color: #000000;\">&#40;</span>hWnd<span style=\"color: #000000;\">&#41;</span><br />       BringWindowToTop<span style=\"color: #000000;\">&#40;</span> hWnd <span style=\"color: #000000;\">&#41;</span><br />       EnumChildWindows<span style=\"color: #000000;\">&#40;</span> hWnd,;<br />           <span style=\"color: #000000;\">&#123;</span> | hCtrl | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> GetWindowText<span style=\"color: #000000;\">&#40;</span> hCtrl <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"Hello world\"</span>,;<br />                           <span style=\"color: #000000;\">&#40;</span> SetWindowText<span style=\"color: #000000;\">&#40;</span> hCtrl, <span style=\"color: #ff0000;\">\"HeyHeyHey\"</span> <span style=\"color: #000000;\">&#41;</span>, InvalidateRect<span style=\"color: #000000;\">&#40;</span> hCtrl, .T. <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">ELSE</span><br />        MsgAlert<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Run testfont app before pressing button.\"</span><span style=\"color: #000000;\">&#41;</span>   <br />    <span style=\"color: #00C800;\">ENDIF</span>   <br />   <br />   <br /><span style=\"color: #00C800;\">RETURN</span> .T.</div>[/code:2aruuexm][/quote:2aruuexm]\n\nHi Antonio,\n\nThis code works just fine as I want it. but I think we can't find the object with the hCtrl we found with the EnumChildWindows, or I think we can do every operation when we change the hCtrl of the object we will create (in this case, TSAY).\n\nActually, I wanted this example just to see if this was done. \n\nWhat I really want to do is to control the TWebView class, which works as a client in a window, from another application. In this case, I need to be able to access all methods. Maybe I should consider the advice of reinaldocrespo instead of direct access like this.\n\nThanks.", "time": "15:20", "topic": "Can I get object from handle?", "username": "Horizon" } ]
Can I get object from handle?
[ { "date": "2023-04-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Hakan,\n\nHave you checked if EnumChildWindow() returns the TWebView hCtrl ?", "time": "21:04", "topic": "Can I get object from handle?", "username": "Antonio Linares" } ]
Can I get object from handle?
[ { "date": "2017-09-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Can I increase WINDOW TITLE height? Because the resolution of monitor is very high but the window title is still very small as picture.\n[url=https&#58;//postimages&#46;org/:3e5qy8rs][img:3e5qy8rs]https&#58;//s26&#46;postimg&#46;org/uyqvv65h5/menu&#46;png[/img:3e5qy8rs][/url:3e5qy8rs]", "time": "06:36", "topic": "Can I increase WINDOW TITLE height?", "username": "dutch" } ]
Can I increase WINDOW TITLE height?
[ { "date": "2017-09-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Dutch,\n\nI don't remember ever seeing a different title bar height in any application (FW or otherwise), so I doubt it.\n\nJames", "time": "16:11", "topic": "Can I increase WINDOW TITLE height?", "username": "James Bott" } ]
Can I increase WINDOW TITLE height?
[ { "date": "2017-09-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear James,\n\nIn the past, Windows allow to modify appearance as font size, title height and etc. My idea is just thinking to change UI without modify all dialog with POPUP , add title and back button in all work.\n\nThank you.", "time": "01:03", "topic": "Can I increase WINDOW TITLE height?", "username": "dutch" } ]
Can I increase WINDOW TITLE height?
[ { "date": "2006-12-21", "forum": "FiveLinux / FiveDroid (Android)", "text": "Mr. Antonio\n\nI'm newbie on Linux. <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: --> \nWhat can I do with Linux with Fivewin\n\nThank's\nAreang", "time": "13:47", "topic": "Can I learn Linux with Fivewin", "username": "areang" } ]
Can I learn Linux with Fivewin
[ { "date": "2006-12-21", "forum": "FiveLinux / FiveDroid (Android)", "text": "Areang,\n\nYou can run your Windows apps on Linux using \"Wine\" emulator.\n\nUsing FiveLinux you can build native Linux apps.\n\nAnyhow, it is recommended that you use Linux for several days to get used to it.", "time": "14:29", "topic": "Can I learn Linux with Fivewin", "username": "Antonio Linares" } ]
Can I learn Linux with Fivewin
[ { "date": "2006-12-22", "forum": "FiveLinux / FiveDroid (Android)", "text": "Mr. Antonio,\n\nHow about Xandros\n\n\nregards\nareang", "time": "08:31", "topic": "Can I learn Linux with Fivewin", "username": "areang" } ]
Can I learn Linux with Fivewin
[ { "date": "2006-12-22", "forum": "FiveLinux / FiveDroid (Android)", "text": "Areang,\n\nThough you may use any Linux distro, including Xandros, we do recommend Ubuntu, as it has been the most popular Linux distro this year 2006 and its getting better and better.", "time": "09:06", "topic": "Can I learn Linux with Fivewin", "username": "Antonio Linares" } ]
Can I learn Linux with Fivewin
[ { "date": "2006-12-22", "forum": "FiveLinux / FiveDroid (Android)", "text": "Mr. Antonio\n\nThank's for reply, I will try it\n\nCan you give me some text file help, how to install fivewin in linux and how to compile my source code \n\nThank's\nBest Regards\nAreang", "time": "11:00", "topic": "Can I learn Linux with Fivewin", "username": "areang" } ]
Can I learn Linux with Fivewin
[ { "date": "2006-12-22", "forum": "FiveLinux / FiveDroid (Android)", "text": "Areang,\n\nDo you plan to use Wine and build Windows apps on Linux ?", "time": "12:14", "topic": "Can I learn Linux with Fivewin", "username": "Antonio Linares" } ]
Can I learn Linux with Fivewin
[ { "date": "2006-12-22", "forum": "FiveLinux / FiveDroid (Android)", "text": "> Do you plan to use Wine and build Windows apps on Linux ?\n\nWhat is Wine ?\n\nIs Application for execute EXE file on Linux ?\n\nThank's\nAreang", "time": "12:42", "topic": "Can I learn Linux with Fivewin", "username": "areang" } ]
Can I learn Linux with Fivewin
[ { "date": "2006-12-22", "forum": "FiveLinux / FiveDroid (Android)", "text": "Mr. Antonio\n <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> Help !\n\nThank's\nAreang", "time": "13:31", "topic": "Can I learn Linux with Fivewin", "username": "areang" } ]
Can I learn Linux with Fivewin
[ { "date": "2006-12-22", "forum": "FiveLinux / FiveDroid (Android)", "text": "Areang,\n\n\"Wine\" is a Windows emulator that lets you run Windows application on Linux. We may capture several screens and post them here so you can review them.", "time": "16:03", "topic": "Can I learn Linux with Fivewin", "username": "Antonio Linares" } ]
Can I learn Linux with Fivewin
[ { "date": "2009-11-16", "forum": "FiveWin for Harbour/xHarbour", "text": "I am having May 2006 build of FWH and pretty happy with it. \nI am also using latest free.xHarbour.com binaries.\nCan I recompile my FWH with latest xHarbour ?\nIf yes, can anyone help me with XBP file ?\n\nTIA\nMilan.", "time": "08:56", "topic": "Can I recompile May 2006 build of Fwh ?", "username": "milanmehta" } ]
Can I recompile May 2006 build of Fwh ?
[ { "date": "2009-11-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Milan,\n\nYou can easily use this batch file:\n[code=fw:r7llgnag]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">for</span> %%f in <span style=\"color: #000000;\">&#40;</span>*.prg<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">do</span> c:\\harbour\\bin\\harbour %%f /n /ic:\\fwh\\include;c:\\harbour\\include<br /><span style=\"color: #00C800;\">for</span> %%f in <span style=\"color: #000000;\">&#40;</span>*.c<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">do</span> c:\\bcc55\\bin\\bcc32 -c -Ic:\\bcc55\\include;c:\\harbour\\include %%f<br /><span style=\"color: #00C800;\">for</span> %%f in <span style=\"color: #000000;\">&#40;</span>*.obj<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">do</span> c:\\bcc55\\bin\\tlib fiveh.lib -+ %%f /<span style=\"color: #000000;\">0</span> /P32,,<br />&nbsp;</div>[/code:r7llgnag]", "time": "03:15", "topic": "Can I recompile May 2006 build of Fwh ?", "username": "Antonio Linares" } ]
Can I recompile May 2006 build of Fwh ?
[ { "date": "2009-11-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nVery nice of you.\n\nJust guide me further, which PRG to link in Fivehx.lib and which PRG to link in Fivehc.lib ?\nIn fact there are three folders under folder Source : Classes, Function and WinAPI.\n\nTIA\nMilan.", "time": "10:47", "topic": "Can I recompile May 2006 build of Fwh ?", "username": "milanmehta" } ]
Can I recompile May 2006 build of Fwh ?
[ { "date": "2009-11-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Milan,\n\nFiveHX.lib just contains PRG files.\n\nFiveHC.lib just contains C files.\n\n<!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "11:02", "topic": "Can I recompile May 2006 build of Fwh ?", "username": "Antonio Linares" } ]
Can I recompile May 2006 build of Fwh ?
[ { "date": "2008-06-10", "forum": "FiveWin for Harbour/xHarbour", "text": "I need to turn upside down scanned images. Does TImage have the posibility?", "time": "10:04", "topic": "Can I rotate an Image 180 Degrees with Freeimage", "username": "PAUL SIMM" } ]
Can I rotate an Image 180 Degrees with Freeimage
[ { "date": "2008-06-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Paul,\r\n\r\nyou can use these functions to rotate images with FreeImage\r\n\r\n[code:37gxfso1]DLL32 STATIC FUNCTION FIRotate &#40; hDib AS LONG, nAngle AS _DOUBLE &#41; AS LONG;\n PASCAL FROM \"_FreeImage_RotateClassic@12\" LIB hLib\n\nDLL32 STATIC FUNCTION FIRotateEX &#40; hDib AS LONG, nAngle AS _DOUBLE, x_Shift AS _DOUBLE,y_Shift AS _DOUBLE,;\n x_Orig AS _DOUBLE, y_Orig AS _DOUBLE, lMask AS BOOL &#41; AS LONG;\n PASCAL FROM \"_FreeImage_RotateEx@48\" LIB hLib\n[/code:37gxfso1]", "time": "10:49", "topic": "Can I rotate an Image 180 Degrees with Freeimage", "username": "StefanHaupt" } ]
Can I rotate an Image 180 Degrees with Freeimage
[ { "date": "2008-06-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\r\nI have two images en test.tiff\r\nI try show the second imagen with freeimage.... This is possible ??\r\n\r\nRegards,\r\nFernando", "time": "15:10", "topic": "Can I rotate an Image 180 Degrees with Freeimage", "username": "fleal" } ]
Can I rotate an Image 180 Degrees with Freeimage
[ { "date": "2008-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Fernando,\r\n\r\n[quote=\"fleal\":3p7zz0s0]Hi,\nI have two images en test.tiff\nI try show the second imagen with freeimage.... This is possible ??\n[/quote:3p7zz0s0]\r\n\r\nI don´t know, you can look in the manual of freeimage if such a feature is supported", "time": "08:32", "topic": "Can I rotate an Image 180 Degrees with Freeimage", "username": "StefanHaupt" } ]
Can I rotate an Image 180 Degrees with Freeimage
[ { "date": "2015-09-20", "forum": "FiveWin for Harbour/xHarbour", "text": "How Can I show NEW Dialog Window in front of any other window?\n\n We are on programming a CID prg for Telephone Caller identification..\n\n As you know, CID prg stay back and the users are on work with other software..\n When there is phone Call, there should be \"POP-UP\" as following.\n[url:33p9tg9n]http&#58;//pharmalink&#46;kr/images/stay_back1&#46;jpg[/url:33p9tg9n]\n\n But, in certain case, my \"POP-UP\" stay back behind other window...\n [url:33p9tg9n]http&#58;//pharmalink&#46;kr/images/stay_back&#46;jpg[/url:33p9tg9n]\n\n\n[u:33p9tg9n] How can I place my new \"POP-UP\" infront of any other window?[/u:33p9tg9n]\n\nMy prg starts as following..\n[code=fw:33p9tg9n]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />  <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">Window</span> oWnd  <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Caller ID\"</span>  <span style=\"color: #0000ff;\">ICON</span> oIcon <span style=\"color: #0000ff;\">Menu</span> BuildMenu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBar BUTTONSIZE <span style=\"color: #000000;\">36</span>, <span style=\"color: #000000;\">36</span> 3D TOP <span style=\"color: #0000ff;\">OF</span> oWnd<br /><br />   @ <span style=\"color: #000000;\">0.4</span>,<span style=\"color: #000000;\">220</span> <span style=\"color: #0000ff;\">say</span> <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">35</span>, <span style=\"color: #000000;\">18</span>  <span style=\"color: #0000ff;\">of</span> oBar<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"RED_1\"</span> <span style=\"color: #0000ff;\">of</span> oBar <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: #00C800;\">Function</span> EventCall<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>   <span style=\"color: #B900B9;\">//-- On evnet , Call Alarm()</span><br />  Alarm<span style=\"color: #000000;\">&#40;</span>Caller, Callee, cEvent, cCode<span style=\"color: #000000;\">&#41;</span> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">Function</span> Alarm<span style=\"color: #000000;\">&#40;</span> Caller, Callee, cEvent, cCode<span style=\"color: #000000;\">&#41;</span> <br />   <span style=\"color: #00C800;\">Local</span> oDlg, oBrush, oCursor<br />     <span style=\"color: #00C800;\">Local</span> nPos<br />     <span style=\"color: #00C800;\">Local</span> aInfo, uReturn<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush <span style=\"color: #0000ff;\">COLOR</span> CLR_BLUE <span style=\"color: #B900B9;\">// Transparent painting !</span><br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg ;<br />      <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">0</span>, nPos <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">132</span>, nPos<span style=\"color: #000000;\">+370</span> ;<br />      <span style=\"color: #0000ff;\">STYLE</span> WS_POPUP ;<br />      <span style=\"color: #0000ff;\">BRUSH</span> oBrush <span style=\"color: #0000ff;\">PIXEL</span><br /><br />      @ <span style=\"color: #000000;\">19</span>, <span style=\"color: #000000;\">148</span>  <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"refuse(&X)\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">10</span>   <span style=\"color: #0000ff;\">action</span>  <span style=\"color: #000000;\">&#40;</span>nDap:=<span style=\"color: #000000;\">200</span>, oDlg:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">PIXEL</span>   <br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg ;<br />      <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> <span style=\"color: #000000;\">&#40;</span> PalBmpDraw<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">hDC</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, oBmp2:<span style=\"color: #000000;\">hBitmap</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, SRCPAINT <span style=\"color: #000000;\">&#41;</span>,;<br />                 PalBmpDraw<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">hDC</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, oBmp1:<span style=\"color: #000000;\">hBitmap</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, SRCAND <span style=\"color: #000000;\">&#41;</span> ,;<br />                 oDlg:<span style=\"color: #0000ff;\">Say</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">43</span>,<span style=\"color: #000000;\">147</span>, aInfo<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>,,, oFont,.t. <span style=\"color: #000000;\">&#41;</span> ,oDlg:<span style=\"color: #0000ff;\">Say</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">57</span>, <span style=\"color: #000000;\">147</span>, aInfo<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>,,, oFont, .T. <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>  ; <br />        <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #0000ff;\">CLICK</span> <span style=\"color: #000000;\">&#40;</span>nDap:=<span style=\"color: #000000;\">100</span>, oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> ;<br />      <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span>  SetTransparent<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:33p9tg9n]\n\nThanks..", "time": "03:35", "topic": "Can I show My Dialg Window in front of any other window?", "username": "kim yong woo" } ]
Can I show My Dialg Window in front of any other window?
[ { "date": "2015-09-20", "forum": "FiveWin for Harbour/xHarbour", "text": "yes.\n\nexist a style for windows for this.\n\ni dont remmenber, sorry, please search in thes forums\n[url:2szq3qqy]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=14366&p=74173&hilit=Topmost#p74173[/url:2szq3qqy]\ntop most", "time": "04:32", "topic": "Can I show My Dialg Window in front of any other window?", "username": "carlos vargas" } ]
Can I show My Dialg Window in front of any other window?
[ { "date": "2015-09-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. Carlos vargas,\n\n Thanks for your post..\n\n But, in my case, I hope to show my new Dialog to be shown in front of other windows, as soon as generated...\n\n [code=fw:a9ja3748]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush <span style=\"color: #0000ff;\">COLOR</span> CLR_BLUE <br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">0</span>, nPos <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">132</span>, nPos<span style=\"color: #000000;\">+370</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">STYLE</span> WS_POPUP ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">BRUSH</span> oBrush <span style=\"color: #0000ff;\">PIXEL</span><br /><br />&nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">19</span>, <span style=\"color: #000000;\">148</span> &nbsp;<span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Refuse(&X)\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">10</span> &nbsp; <span style=\"color: #0000ff;\">action</span> &nbsp;<span style=\"color: #000000;\">&#40;</span>nDap:=<span style=\"color: #000000;\">200</span>, oDlg:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">PIXEL</span> &nbsp; &nbsp; &nbsp; <br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> <span style=\"color: #000000;\">&#40;</span> PalBmpDraw<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">hDC</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, oBmp2:<span style=\"color: #000000;\">hBitmap</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, SRCPAINT <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PalBmpDraw<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">hDC</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, oBmp1:<span style=\"color: #000000;\">hBitmap</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, SRCAND <span style=\"color: #000000;\">&#41;</span> ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oDlg:<span style=\"color: #0000ff;\">Say</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">43</span>,<span style=\"color: #000000;\">147</span>, aInfo<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>,,, oFont,.t. <span style=\"color: #000000;\">&#41;</span> ,oDlg:<span style=\"color: #0000ff;\">Say</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">57</span>, <span style=\"color: #000000;\">147</span>, aInfo<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>,,, oFont, .T. <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> &nbsp;; <br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #0000ff;\">CLICK</span> <span style=\"color: #000000;\">&#40;</span>nDap:=<span style=\"color: #000000;\">100</span>, oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> &nbsp;SetTransparent<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//----------------Now...</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// ON INIT ( SetTransparent( oDlg ),&nbsp; &nbsp;SetWindowPos( oDlg:hWnd, 0 &nbsp; , oDlg:nTop, oDlg:nLeft, 370, 132 ) ) &nbsp; //----> No change..</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">//ON INIT &nbsp;( SetTransparent( oDlg ), SetForeGroundWindow( oDlg:hWnd ) ) &nbsp;//----? No Change also...</span><br />&nbsp;</div>[/code:a9ja3748]\n\nAdvise... please!!", "time": "14:19", "topic": "Can I show My Dialg Window in front of any other window?", "username": "kim yong woo" } ]
Can I show My Dialg Window in front of any other window?
[ { "date": "2015-09-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. Kim:\n\nTry with ON TOP dialog as follow:\n\n[code=fw:l73l4sm1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> SetWindowPos<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">hWnd</span>, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:l73l4sm1]\n\nWith best regards", "time": "16:34", "topic": "Can I show My Dialg Window in front of any other window?", "username": "Armando" } ]
Can I show My Dialg Window in front of any other window?
[ { "date": "2015-09-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. Kim,\n\nTry this\n[code=fw:xahjqo2y]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> <span style=\"color: #000000;\">&#40;</span> SetWindowPos<span style=\"color: #000000;\">&#40;</span> oWnd:<span style=\"color: #000000;\">hWnd</span>, - <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span>,;<br />                                oWnd:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:xahjqo2y]\n\n-RAMESH BABU", "time": "01:47", "topic": "Can I show My Dialg Window in front of any other window?", "username": "RAMESHBABU" } ]
Can I show My Dialg Window in front of any other window?
[ { "date": "2015-09-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr. Armando,and Mr.Rameshbabu\n\n Thanks for you comments...\n I will try, and will report..", "time": "02:28", "topic": "Can I show My Dialg Window in front of any other window?", "username": "kim yong woo" } ]
Can I show My Dialg Window in front of any other window?
[ { "date": "2014-09-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Can I preview html email format as webpage before send to customer?\n\nThanks in advance,", "time": "11:30", "topic": "Can I show html tag as webpage in FWH?", "username": "dutch" } ]
Can I show html tag as webpage in FWH?
[ { "date": "2014-10-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Write as html file, use Shell.Explorer Activex to read and display by Navigate2(...) method.\nI do not know a better method than this. if there is one, I am equally interested in learning.", "time": "04:44", "topic": "Can I show html tag as webpage in FWH?", "username": "nageswaragunupudi" } ]
Can I show html tag as webpage in FWH?
[ { "date": "2008-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear All\r\n\r\nI type Chinese in notepad and it alway show \"Unicode Font\". When I save as ANSI format, Chinese Font is disappear. \r\n\r\nWhat I gonna do?\r\n\r\nThanks&Regards,\r\nDutch", "time": "12:04", "topic": "Can I type Chinese in ANSI format (normal text file)?", "username": "dutch" } ]
Can I type Chinese in ANSI format (normal text file)?
[ { "date": "2008-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi\r\n\r\nHow about copy Windows OS Chinese( CHT ) default FONT files?\r\n\r\nRegards,\r\n\r\nRichard", "time": "12:12", "topic": "Can I type Chinese in ANSI format (normal text file)?", "username": "richard-service" } ]
Can I type Chinese in ANSI format (normal text file)?
[ { "date": "2008-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Richard,\r\n\r\nI've use Windows Vista Business and it has many chinese font such as Ming Liu, Kai Ti, Microsoft JhengHei, Microsoft YaHei and etc.\r\n\r\nRegards,\r\nDutch", "time": "12:37", "topic": "Can I type Chinese in ANSI format (normal text file)?", "username": "dutch" } ]
Can I type Chinese in ANSI format (normal text file)?
[ { "date": "2008-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"dutch\":gjdvk5ps]Dear Richard,\n\nI've use Windows Vista Business and it has many chinese font such as Ming Liu, Kai Ti, Microsoft JhengHei, Microsoft YaHei and etc.\n\nRegards,\nDutch[/quote:gjdvk5ps]\r\n\r\nHi\r\n\r\nI have not try Vista English version, so I don't know input Chinese word work or not. But Vista CHT version, I think work fine within Multi-Edit/UEStudio.\r\n\r\nRegards,\r\n\r\nRichard", "time": "13:22", "topic": "Can I type Chinese in ANSI format (normal text file)?", "username": "richard-service" } ]
Can I type Chinese in ANSI format (normal text file)?
[ { "date": "2008-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Richard,\r\n\r\nI think the problem is my Windows. The system location is Thai and the default code page is OEM/874 (Thai). I try to try in UEStudio with Thai Language (2 charactor), it shows Chinese Language but when I open file with notepad. It show Thai word.\r\n\r\nI don't know the solution now.\r\n\r\nRegards,\r\nDutch", "time": "13:42", "topic": "Can I type Chinese in ANSI format (normal text file)?", "username": "dutch" } ]
Can I type Chinese in ANSI format (normal text file)?
[ { "date": "2008-10-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Maybe you can investigate these Dutch. They should allow you to input/display chinese caharacters on even regular windows. I'm not sure how effective they are though:\r\n\r\ni. <!-- m --><a class=\"postlink\" href=\"http://www.njstar.com/\">http://www.njstar.com/</a><!-- m -->\r\nii. <!-- m --><a class=\"postlink\" href=\"http://chinese-software.com/chinesestarxp.html\">http://chinese-software.com/chinesestarxp.html</a><!-- m -->", "time": "02:25", "topic": "Can I type Chinese in ANSI format (normal text file)?", "username": "hua" } ]
Can I type Chinese in ANSI format (normal text file)?
[ { "date": "2008-10-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Hua,\r\n\r\nI can type Chinese in UESTUDIO 6.0 now. I change my System Locale to \"Chinese (PRC)\" and Location to China. I try AppLoc.exe too but not work.\r\n\r\nThe problem is word in source code and display in program are difference. I don't know why?\r\n\r\nRegards,\r\nDutch", "time": "21:26", "topic": "Can I type Chinese in ANSI format (normal text file)?", "username": "dutch" } ]
Can I type Chinese in ANSI format (normal text file)?
[ { "date": "2021-07-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr. Antonio,\n\nAs old user who has upgraded Fivewin Fewdays ago, I am trying to find BCC 7.3 ??? 7.4 to build 64Bit application.\nBut, it's very difficult to find this BCC by web surffing.\n\nInstead, I found BCC102.zip from <!-- m --><a class=\"postlink\" href=\"https://www.embarcadero.com/\">https://www.embarcadero.com/</a><!-- m -->\n Can I use this?\n\nIf not, please inform me, or, link for Bcc7 download.\n\nThanks.\n\nSincerely,\n\nY.W.Kim", "time": "10:51", "topic": "Can I use BCC102 instead of BCC 7.4?", "username": "kim yong woo" } ]
Can I use BCC102 instead of BCC 7.4?
[ { "date": "2021-07-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Please visit [url:hpu7ahbi]http&#58;//www&#46;xharbour&#46;org[/url:hpu7ahbi] in the Required tools section.\n\nEMG", "time": "11:15", "topic": "Can I use BCC102 instead of BCC 7.4?", "username": "Enrico Maria Giordano" } ]
Can I use BCC102 instead of BCC 7.4?
[ { "date": "2021-07-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi friend\n\nyou can download those versions from Mel's web\n\n<!-- w --><a class=\"postlink\" href=\"http://www.whosaway.com\">www.whosaway.com</a><!-- w -->\n\nRegards \n\nJose\n\n\n\nEnviado desde mi Lenovo TB-J606F mediante Tapatalk", "time": "20:51", "topic": "Can I use BCC102 instead of BCC 7.4?", "username": "jvtecheto" } ]
Can I use BCC102 instead of BCC 7.4?
[ { "date": "2005-11-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Friends,\n\nI use FW's Zip file functions in FW 16bits but It cannot compile with xHB? Have I still used FW's Zip file function or I must change to use xHB's Zip file function instead of FW?\n\nRegards,\nDutch", "time": "12:17", "topic": "Can I use FW's Zip file function with xHarbour?", "username": "dutch" } ]
Can I use FW's Zip file function with xHarbour?
[ { "date": "2005-11-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Dutch,\n\nYou have to use the free hbzip.lib library as FW 16 ZIP functions are not available for 32 bits (cause we used a external DLL that was not available in 32 bits).", "time": "12:32", "topic": "Can I use FW's Zip file function with xHarbour?", "username": "Antonio Linares" } ]
Can I use FW's Zip file function with xHarbour?
[ { "date": "2005-11-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks&Regards,\nDutch", "time": "19:54", "topic": "Can I use FW's Zip file function with xHarbour?", "username": "dutch" } ]
Can I use FW's Zip file function with xHarbour?
[ { "date": "2013-06-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear All,\n\nI try TTITLE in resource and it works fine. But I cannot use TITLETEXT and TITLEIMG with TTITLE in RESOURCE.\n\nHow can I use it?\n\nThanks in advance for any idea.", "time": "00:45", "topic": "Can I use TITLEIMG and TITLETEXT with TTitle RC? *Done*", "username": "dutch" } ]
Can I use TITLEIMG and TITLETEXT with TTitle RC? *Done*
[ { "date": "2013-06-29", "forum": "FiveWin for Harbour/xHarbour", "text": "TTitle():AddText(...)\nTTitle():LoasBitmaps(...)\nThanks", "time": "05:11", "topic": "Can I use TITLEIMG and TITLETEXT with TTitle RC? *Done*", "username": "dutch" } ]
Can I use TITLEIMG and TITLETEXT with TTitle RC? *Done*
[ { "date": "2006-03-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello All,\n\nCan I use third party ActiveX control in my FWH application ? If yes, how can I use it ?\n\nCan somebody guide me ?\n\nTIA", "time": "13:59", "topic": "Can I use third party ActiveX control in my FWH application", "username": "Milan Mehta" } ]
Can I use third party ActiveX control in my FWH application
[ { "date": "2006-03-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi\n\nYes, you can do it.\nBut more 3rd party ActiveX not support FWH's ActiveX components.\nBorland C++ support a little ActiveX, you can use VC++ 2005.\n\nI only test Show CAD work fine.\n\nRegards,\n\nRichard\nFivetech.net Taiwan", "time": "16:16", "topic": "Can I use third party ActiveX control in my FWH application", "username": "Taiwan" } ]
Can I use third party ActiveX control in my FWH application
[ { "date": "2006-03-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Milan,\n\nYou may review samples\\webexp.prg, excel.prg, pdf.prg.", "time": "06:48", "topic": "Can I use third party ActiveX control in my FWH application", "username": "Antonio Linares" } ]
Can I use third party ActiveX control in my FWH application
[ { "date": "2006-03-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\n\nI think he need to complete ActiveX compontnts not easy call Web,Excel,Word or PDF.\nMore ActiveX can replace ToolTip style or Dialog style or Like Office 2003 Menu style ....etc.\nI hope we can use these ActiveX components.\n\nRegards,\n\nRichard", "time": "09:14", "topic": "Can I use third party ActiveX control in my FWH application", "username": "Taiwan" } ]
Can I use third party ActiveX control in my FWH application
[ { "date": "2006-03-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nIam using FWH Nov-2005 build. WebExp.Prg works fine. But excel.Prg and PDf.Prg gives me GPF. I have both MS Office and Acrobat reader installed.\n\nCan you guide me further ?\n\nTIA\nMilan.", "time": "06:39", "topic": "Can I use third party ActiveX control in my FWH application", "username": "Milan Mehta" } ]
Can I use third party ActiveX control in my FWH application
[ { "date": "2006-03-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Milan,\n\n> excel.Prg and PDf.Prg\n\nYou may not have the same version as especified in those samples: \n\"OWC11.Spreadsheet\" and \"PDF.PdfCtrl.6\"\n\nYou may use Microsoft free OleView to inspect what ActiveX controls you have in your computer and locate the right string to use:\n<!-- m --><a class=\"postlink\" href=\"http://hyperupload.com/download/b7308564/oleview.zip.html\">http://hyperupload.com/download/b730856 ... w.zip.html</a><!-- m -->", "time": "09:19", "topic": "Can I use third party ActiveX control in my FWH application", "username": "Antonio Linares" } ]
Can I use third party ActiveX control in my FWH application
[ { "date": "2006-03-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Antonio,\n\nCan you please check that file ? It is 0 Kb and do not contain anything.\n\nTIA\nMilan.", "time": "10:10", "topic": "Can I use third party ActiveX control in my FWH application", "username": "Milan Mehta" } ]
Can I use third party ActiveX control in my FWH application
[ { "date": "2006-03-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Milan,\n\nPlease try this one:\n<!-- m --><a class=\"postlink\" href=\"http://hyperupload.com/download/b7308551/oleview.zip.html\">http://hyperupload.com/download/b730855 ... w.zip.html</a><!-- m -->", "time": "11:28", "topic": "Can I use third party ActiveX control in my FWH application", "username": "Antonio Linares" } ]
Can I use third party ActiveX control in my FWH application
[ { "date": "2006-03-24", "forum": "FiveWin for CA-Clipper", "text": "Dear All,\n\nI have to do the communication with serial port (RS232) but the examle TESTCOMM.PRG said \n// Windows requires to have a Window at least to perform comunications !!\n// Let's use the MessageBox() Window as default\n\nIt means MessageBox() will be showed everytime when I use WriteComm() function. \n\nHow can I donot show any message (Run as backgroup or Windows service)?\n\nThanks in advance,\nDutch", "time": "11:23", "topic": "Can I write comm port without MsgInfo()?", "username": "dutch" } ]
Can I write comm port without MsgInfo()?
[ { "date": "2006-03-24", "forum": "FiveWin for CA-Clipper", "text": "A quick fix is to use a hidden window, it doesn't have to be a dialog box.", "time": "13:24", "topic": "Can I write comm port without MsgInfo()?", "username": "Mdandrea" } ]
Can I write comm port without MsgInfo()?
[ { "date": "2006-03-24", "forum": "FiveWin for CA-Clipper", "text": "Dear Mdandrea,\n\nThanks for your recommend. It works ok now.\n\nThanks,\nDutch", "time": "18:15", "topic": "Can I write comm port without MsgInfo()?", "username": "dutch" } ]
Can I write comm port without MsgInfo()?
[ { "date": "2006-03-25", "forum": "FiveWin for CA-Clipper", "text": "Glad to hear it worked for you Dutch.", "time": "14:29", "topic": "Can I write comm port without MsgInfo()?", "username": "Mdandrea" } ]
Can I write comm port without MsgInfo()?
[ { "date": "2008-04-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi All\r\n\r\nI can't see how to do it and I suspect it might well be impossible, particularly having looked at the code for TDatabase (which has a very clever, if not very pretty, workaround).\r\n\r\nBut before I spend too much time on alternatives, I thought that it was worth asking the question.\r\n\r\nThanks\r\nDoug\r\n(xProgrammer)", "time": "01:40", "topic": "Can Properties (DATA) be added dynamically to an Object (CLA", "username": "xProgrammer" } ]
Can Properties (DATA) be added dynamically to an Object (CLA
[ { "date": "2008-04-29", "forum": "FiveWin for Harbour/xHarbour", "text": "__ObjAddData(oyourbject,cnames)\r\n\r\nShuming Wang", "time": "01:56", "topic": "Can Properties (DATA) be added dynamically to an Object (CLA", "username": "ShumingWang" } ]
Can Properties (DATA) be added dynamically to an Object (CLA
[ { "date": "2008-04-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks\r\n\r\nThat should make what I want to do so much easier and neater!\r\n\r\nRegards\r\nDoug\r\n(xProgrammer)", "time": "03:12", "topic": "Can Properties (DATA) be added dynamically to an Object (CLA", "username": "xProgrammer" } ]
Can Properties (DATA) be added dynamically to an Object (CLA
[ { "date": "2008-04-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Shuming\r\n\r\nWorks like a charm", "time": "12:18", "topic": "Can Properties (DATA) be added dynamically to an Object (CLA", "username": "xProgrammer" } ]
Can Properties (DATA) be added dynamically to an Object (CLA
[ { "date": "2008-04-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Doug,\r\n\r\nPlease notice that Class TDataBase does not add new DATAs. \r\n\r\nIt uses the Class \"error handler\" OnError() method to route the desired msgs to access \"virtual\" DATAs. So the same Class can be used to manage multiple different DBFs without having to inherit a new Class for each DBF <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "14:51", "topic": "Can Properties (DATA) be added dynamically to an Object (CLA", "username": "Antonio Linares" } ]
Can Properties (DATA) be added dynamically to an Object (CLA
[ { "date": "2008-04-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio\r\n\r\nI noticed that and now understand the reasoning behind it although I'm not convinced that it's strictly correct. If DATAs are added dynamically to an object (ie a class instance) they would presumably be independant of the class of that object - one class would still suffice wouldn't it?\r\n\r\nIn my architecture a class such as PATIENT doesn't inherit from a database class but instead contains a database object (or in reality a pointer to that object). The database object would ideally dynamically add properties not to the database object but to the calling object (in this case an object of class PATIENT).\r\n\r\nWhilst I have not yet written this code I think it would look something like this in the PATIENT class constructor\r\n\r\n[code:2xvegf8j]&#58;oDBF&#58;AddDatas&#40; self &#41;[/code:2xvegf8j]\n\nGiven the smarts I want to build into the database class that code might be a bit complicated but if one didn't want to support any translation of fieldnames etc it would be fiarly straight forward along the lines of:\n\n[code:2xvegf8j]METHOD AddDatas&#40; oCalling &#41; CLASS MyDataBaseClass\n\nSELECT &#58;&#58;WorkArea\nFOR ii &#58;= 1 TO FCOUNT&#40;&#41;\n __ObjAddData&#40; oCalling, FNAME&#40; ii &#41; &#41;\nNEXT\n\nRETURN nil[/code:2xvegf8j]\n\nDoing a databsae read would be fiarly simple under these circumstances too with something like:\n\n[code:2xvegf8j]METHOD ReadData&#40; oCalling &#41;\n\naVals &#58;= ARRAY&#40; 0 &#41;\naThis &#58;= ARRAY&#40; 2 &#41;\nSELECT &#58;&#58;WorkArea\nFOR ii &#58;= 1 TO FCOUNT&#40;&#41;\n aThis&#91;1&#93; &#58;= FNAME&#40; ii &#41;\n aThis&#91;2&#93; &#58;= FIELDGET&#40; ii &#41;\n AADD&#40; aVals, aThis &#41;\nNEXT\n__ObjDataSetFromArray&#40; oCalling, aVals &#41;\n\nRETURN nil[/code:2xvegf8j]\r\n\r\nPlease note that last call is wrong name - it exists but I don't have the documentation with me. Code is not optimised. Field Names could be preset once in the array aVals and not need to be reset each time. This code is to illustrate the principle only. oCalling would possibly be a property of the databse object and not need to be passed in each time.\r\n\r\nHappy to receive comments / ideas / criticisms.\r\n\r\nRegards\r\nDoug\r\nxProgrammer", "time": "23:19", "topic": "Can Properties (DATA) be added dynamically to an Object (CLA", "username": "xProgrammer" } ]
Can Properties (DATA) be added dynamically to an Object (CLA
[ { "date": "2008-04-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Doug,\r\n\r\nIf you add new DATAs, you add them to the Class not to the object,\r\nso all that Class instantiated objects are affected <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\r\n\r\nThats why the Class error handler approach is better, as it does not modify the original class.", "time": "07:04", "topic": "Can Properties (DATA) be added dynamically to an Object (CLA", "username": "Antonio Linares" } ]
Can Properties (DATA) be added dynamically to an Object (CLA
[ { "date": "2008-04-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio\r\n\r\nThanks for the advice. The documentation I saw was a bit misleading in that it mostly talked about adding DATA to an object and the function is so named.\r\n\r\nCertainly that would be a problem in some architectures, but I don't see it as an issue in mine. If I am adding the DATAs to a PATIENT class (using a reference to an object of that class) it surely won't affect my database class or other classes that contain objects of that database class?\r\n\r\nAnyway I will certainly do some testing.\r\n\r\nActually I think that I will probably create a VIEW class, supporting multiple views for a table and presumably also support views across multiple tables.\r\n\r\nRegards\r\n\r\nDoug", "time": "07:30", "topic": "Can Properties (DATA) be added dynamically to an Object (CLA", "username": "xProgrammer" } ]
Can Properties (DATA) be added dynamically to an Object (CLA
[ { "date": "2008-04-30", "forum": "FiveWin for Harbour/xHarbour", "text": "As you said Antonio, __ObjAddData() adds DATAs to the class and not just the particular object it is called against. For my purposes that isn't a problem though.\r\n\r\nIt looks like I will end up with a RECORD class and a RECORD_LIST class.\r\n\r\nInitial version will subclass these. Subclass will basically have a controlling array (set up by a series of #xcommands).\r\n\r\nSubsequent version will not need subclassing but read parameters from a file.\r\n\r\nI will be supporting:\r\n\r\ndata name conversion (UI independant of data storage) (in and out)\r\ntype conversion (in and out)\r\ndefault values (for Blank() functionality)\r\nfield lengths (which may not be available from other modes of persistence)\r\n\r\nOnly just started but #xcommand version is looking like this:\r\n\r\n[code:2t3cxibn]XLATE PT_KEY TO sKey AS PKEY \nXLATE PT_NMFAMLY TO sNmFamly AS STRING LENGTH 32 \nXLATE PT_NMGIVEN TO sNmGiven AS STRING LENGTH 32 \nXLATE PT_NMOTHER TO sNmOther AS STRING LENGTH 32 \nXLATE PT_NMPREV TO sNmPrev AS STRING LENGTH 32 \nXLATE PT_NMPREF TO sNmPref AS STRING LENGTH 16 \nXLATE PT_NMTITLE TO sNmTitle AS STRING LENGTH 8\nXLATE PT_DOB TO dDOB AS DATE\nXLATE PT_GENDER TO cGender AS CHAR \nXLATE PT_ADLINE1 TO sAdLine1 AS STRING LENGTH 32 \nXLATE PT_ADLINE2 TO sAdLine2 AS STRING LENGTH 32 \nXLATE PT_ADSUBRB TO sAdSubrb AS STRING LENGTH 24 \nXLATE PT_ADSTATE TO sAdState AS STRING LENGTH 3 DEFAULT \"NSW\"\nXLATE PT_ADPCODE TO sAdPCode AS STRING LENGTH 4 \nXLATE PT_ADCNTRY TO sAdCntry AS STRING LENGTH 24 \nXLATE PT_PHHOME TO sPhHome AS STRING LENGTH 16 \nXLATE PT_PHWORK TO sPhWork AS STRING LENGTH 16 \nXLATE PT_PHMOB TO sPhMob AS STRING LENGTH 16 \nXLATE PT_PHFAX TO sPhFax AS STRING LENGTH 16 \nXLATE PT_EMAIL TO sEmail AS STRING LENGTH 24 \nXLATE PT_MEDIC TO sMedic AS STRING LENGTH 10\nXLATE PT_MEDPOS TO sMedPos AS CHAR\nXLATE PT_VETAFF TO sVetAff AS STRING LENGTH 20 \nXLATE PT_ACTIVE TO cActive AS CHAR \nXLATE PT_LUBY TO sLUBy AS SKEY\nXLATE PT_LUWHEN TO sLUWhen AS DATETIME \nXLATE PT_LUACTN TO cLUActn AS CHAR[/code:2t3cxibn]\n\n\"AS STRING\" is optional as it is the default. This is processed into an array along the following lines:\n\n[code:2t3cxibn]#xcommand XLATE <fname> TO <pname> AS STRING LENGTH <length> => AADD&#40; &#58;&#58;aPROPERTIES, &#123; <\"pname\">, <\"fname\">, , \"S\", <length>, 0 &#125; &#41;[/code:2t3cxibn]\r\n\r\nSince it is all controlled by an array conversion to being data driven should be straight forward.\r\n\r\nCode generators were never quite adequate, but data driven is IMHO the way to go. I have done that in a Web based system (with a series of major commercial systems now using that technology). The thing that made it work where generators fail was the ability to include user defined script almost anywhere and the fact that everything was dynamic. xBase with its code blocks might be one of the few other systems where this approach could be as successful.\r\n\r\nRegards\r\nDoug\r\n(xProgrammer)", "time": "23:22", "topic": "Can Properties (DATA) be added dynamically to an Object (CLA", "username": "xProgrammer" } ]
Can Properties (DATA) be added dynamically to an Object (CLA