messages
listlengths 1
1
| topic
stringlengths 2
60
|
|---|---|
[
{
"date": "2006-03-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you.\n\nEMG",
"time": "09:24",
"topic": "Bug in IsOem()/IsAnsi() function",
"username": "Enrico Maria Giordano"
}
] |
Bug in IsOem()/IsAnsi() function
|
[
{
"date": "2011-02-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi!\n\nWith Wine I get this:\n\n[img:2qo0yzyp]http://www.ibtc.biz/tmp/2011-02-04_14-56-10.png[/img:2qo0yzyp]\n\n1: the colour of the text should be black\n2: the background of the arrow should be transparent\n\nand on Windows 7:\n\n[img:2qo0yzyp]http://www.ibtc.biz/tmp/2011-02-04_14-58-55.png[/img:2qo0yzyp]\n\n3: the arrow should be dark\n\nHow/where can I define the text colour of the highlighted item? And also the arrow image?\n\nThe code:\n\n[code=fw:2qo0yzyp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd<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;\">22</span>, <span style=\"color: #000000;\">75</span> ;<br /> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Test Menu\"</span> <span style=\"color: #0000ff;\">MENU</span> BuildMenu<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><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: #000000;\">(</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">function</span> BuildMenu<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oMenu<br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2007</span><br /><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Item 1\"</span><br /><br /> <span style=\"color: #0000ff;\">MENU</span><br /><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Item 1.1\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Item 1.2\"</span><br /><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Item 1.2a\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Item 1.2b\"</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /><span style=\"color: #00C800;\">return</span> oMenu<br /> </div>[/code:2qo0yzyp]\n\nThanks for help.",
"time": "15:14",
"topic": "Bug in MENU 2007?",
"username": "IBTC"
}
] |
Bug in MENU 2007?
|
[
{
"date": "2011-02-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "These problems still exists in FWH 11.01. <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\nIt should be fixed, especially using Wine/WinBottler is recommended from Antonio for FWH Windows app on Linux/Mac (see e.g. [url=http://forums.fivetechsupport.com/viewtopic.php?f=3&t=19683&p=103836:37wpsmr7]From PC to MAC - Urgent[/url:37wpsmr7], [url=http://forums.fivetechsupport.com/viewtopic.php?f=6&t=19272&p=102005:37wpsmr7]compatibilidad FWH con FiveMac y FiveLinux[/url:37wpsmr7]). So we have more modern locking Windows apps also on Linux/Mac.\n\nI would try to fix it on my own, but MENU 2007 use functions which are not available for FWH users, like MITEMS2007(). I fear that the fix had to made in one of these functions <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->",
"time": "15:38",
"topic": "Bug in MENU 2007?",
"username": "IBTC"
}
] |
Bug in MENU 2007?
|
[
{
"date": "2012-06-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ruediger,\n\nThose differences are based on existing differences between true Windows and Wine. \n\nIf you need some code for testing on Wine we can help you with modifications, etc\n\nHave you considered not to use the 2007 style on the menu on Wine ?",
"time": "08:57",
"topic": "Bug in MENU 2007?",
"username": "Antonio Linares"
}
] |
Bug in MENU 2007?
|
[
{
"date": "2012-06-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Antonio,\n[quote=\"Antonio Linares\":dvwk7bnt]\nIf you need some code for testing on Wine we can help you with modifications, etc\n[/quote:dvwk7bnt]\n\nThis would be great. Thanks!\n\n[quote=\"Antonio Linares\":dvwk7bnt]\nHave you considered not to use the 2007 style on the menu on Wine ?\n[/quote:dvwk7bnt]\n\nWe want to use the 2007 style because than the app looks much better on Wine than without.",
"time": "11:18",
"topic": "Bug in MENU 2007?",
"username": "IBTC"
}
] |
Bug in MENU 2007?
|
[
{
"date": "2012-06-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "BTW... If you use a FWH 12.05 app under wine 1.2.3 and want to open a menu without 2007 clause the app crashes without any notice. The problem is at these lines at menus.c:\n\n[code=fw:3tinzpfc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> lpdis->itemState & ODS_GRAYED <span style=\"color: #000000;\">)</span><br /> RectDisable<span style=\"color: #000000;\">(</span> lpdis->hDC, &lpdis->rcItem <span style=\"color: #000000;\">)</span>;<br /> </div>[/code:3tinzpfc]\n\nIf I disable this it works under wine 1.2.3.",
"time": "11:22",
"topic": "Bug in MENU 2007?",
"username": "IBTC"
}
] |
Bug in MENU 2007?
|
[
{
"date": "2012-06-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":2p05nopk]\nIf you need some code for testing on Wine we can help you with modifications, etc\n[/quote:2p05nopk]\n\nThe solution is insert in MENUDRAW2007() following lines:\n\n[code=fw:2p05nopk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> ... <br /> <span style=\"color: #00C800;\">else</span><br /> uFormat = DT_CENTER; <br /><br /> <span style=\"color: #B900B9;\">// New:</span><br /> SetBkColor<span style=\"color: #000000;\">(</span> lpdis->hDC, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">250</span>, <span style=\"color: #000000;\">250</span>, <span style=\"color: #000000;\">250</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> SetTextColor<span style=\"color: #000000;\">(</span> lpdis->hDC, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /><br /> SetBkMode<span style=\"color: #000000;\">(</span> lpdis->hDC, TRANSPARENT <span style=\"color: #000000;\">)</span>;<br /> <br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> lpdis->itemState & ODS_GRAYED <span style=\"color: #000000;\">)</span><br /> SetTextColor<span style=\"color: #000000;\">(</span> lpdis->hDC, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">192</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /><br /> <span style=\"color: #B900B9;\">// New:</span><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> lpdis->itemState & ODS_SELECTED <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> ! <span style=\"color: #000000;\">(</span> lpdis->itemState & ODS_GRAYED <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> SetBkColor<span style=\"color: #000000;\">(</span> lpdis->hDC, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">162</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #000000;\">}</span><br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> ! bTab <span style=\"color: #000000;\">)</span><br /> ...<br /> </div>[/code:2p05nopk]",
"time": "15:53",
"topic": "Bug in MENU 2007?",
"username": "IBTC"
}
] |
Bug in MENU 2007?
|
[
{
"date": "2014-07-28",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "The horizontal menu size (\"This is a test\" item) is too much for the string it contains. I remember it was right in the far past. This is a sample:\n\n[code=fw:2wtanwid]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd, oMenu<br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu<br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"This is a test\"</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br /> <span style=\"color: #0000ff;\">MENU</span> oMenu<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></div>[/code:2wtanwid]\n\nEMG",
"time": "18:48",
"topic": "Bug in Menu [Solved]",
"username": "Enrico Maria Giordano"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-01",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nIt seems fine to me.\n\nWhen you say \"in the far past\" which FWH version do you mean ? <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nI mean, how far is that far past ?",
"time": "07:08",
"topic": "Bug in Menu [Solved]",
"username": "Antonio Linares"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-01",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Antonio,\n\nsorry, I don't remember. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nAnyway, don't you see the extra space between the end of the string and the end of menu? It looks a bit... excessive. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "09:03",
"topic": "Bug in Menu [Solved]",
"username": "Enrico Maria Giordano"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-01",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nIf we use an accelerator on the menuitem such space will be used, so it does not look wrong to me <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "15:51",
"topic": "Bug in Menu [Solved]",
"username": "Antonio Linares"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-01",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Antonio,\n\nplease try this. The menu item has been enlarged to accomodate the accelerator.\n\n[code=fw:s3jx14tc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd, oMenu<br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu<br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"This is a test\"</span> + CHR<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"CTRL-X\"</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br /> <span style=\"color: #0000ff;\">MENU</span> oMenu<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></div>[/code:s3jx14tc]\n\nEMG",
"time": "16:09",
"topic": "Bug in Menu [Solved]",
"username": "Enrico Maria Giordano"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-02",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nThis is the menu image without accelerators:\n\n[img:3l1u8so0]https://bitbucket.org/fivetech/screenshots/downloads/menu1.jpg[/img:3l1u8so0]\n\nAnd this is your seocnd example with accelerator:\n\n[img:3l1u8so0]https://bitbucket.org/fivetech/screenshots/downloads/menu2.jpg[/img:3l1u8so0]\n\nIf you think that they are too large, we could try to implement a MENU ... SIZE clause",
"time": "03:37",
"topic": "Bug in Menu [Solved]",
"username": "Antonio Linares"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-02",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Antonio,\n\nthe current size is double of the item string lenght and this is too much. Please try to right click on the desktop or on any other place and you'll see that the standard menu width is smaller than the FWH menu one.\n\nEMG",
"time": "07:49",
"topic": "Bug in Menu [Solved]",
"username": "Enrico Maria Giordano"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-02",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nI am going to review its source and find a way to reduce its length <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "10:16",
"topic": "Bug in Menu [Solved]",
"username": "Antonio Linares"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-02",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Antonio,\n\nthank you! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "10:24",
"topic": "Bug in Menu [Solved]",
"username": "Enrico Maria Giordano"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-02",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nAfter answering you, I realized that that menu is not ownerdraw so we don't control at all its painting. Unless we are adding somewhere some spaces, I don't see how we could change its width.",
"time": "21:41",
"topic": "Bug in Menu [Solved]",
"username": "Antonio Linares"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-02",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Antonio,\n\nso let's find those extra spaces! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "22:32",
"topic": "Bug in Menu [Solved]",
"username": "Enrico Maria Giordano"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-03",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nProblem found <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nIn Class TWindow lines 1403 please use this code:\n\n[code=fw:1y2mefai]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> MenuMeasureItem<span style=\"color: #000000;\">(</span> pMitStruct,;<br /> <span style=\"color: #000000;\">0.9</span> * GetTextWidth<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! Empty<span style=\"color: #000000;\">(</span> oItem:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span>,;<br /> StrTran<span style=\"color: #000000;\">(</span> oItem:<span style=\"color: #000000;\">cPrompt</span>, <span style=\"color: #ff0000;\">\"&\"</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + ;<br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> oItem:<span style=\"color: #000000;\">oMenu</span>:<span style=\"color: #000000;\">hMenu</span> != <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oMenu</span> != <span style=\"color: #00C800;\">nil</span>, ::<span style=\"color: #000000;\">oMenu</span>:<span style=\"color: #000000;\">hMenu</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>, ;<br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ValType<span style=\"color: #000000;\">(</span> oItem:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>,;<br /> Empty<span style=\"color: #000000;\">(</span> oItem:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:1y2mefai]\n\nSimply replace that 50 with different values until you find the right size for you. I guess we could set this as a DATA of Class TMenu.",
"time": "03:54",
"topic": "Bug in Menu [Solved]",
"username": "Antonio Linares"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-03",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Antonio,\n\ngreat! I'm going to make some test. Anyway, I think you can simply check the context menu (right click) of the desktop or other Windows items. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "08:04",
"topic": "Bug in Menu [Solved]",
"username": "Enrico Maria Giordano"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-03",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nAs we don't have time to implement a new clause as FWH 14.07 is almost ready and it is not the time to make deep changes, if you suggest me the right size, then I will include it in FWH 14.07 <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "08:07",
"topic": "Bug in Menu [Solved]",
"username": "Antonio Linares"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-03",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Antonio,\n\nI just tested your change and it's fine for me. Many thanks. By the way, I found this comment in window.prg that explains all:\n\n[code=fw:2zj7mj9n]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">// + 20 introduced due Error on NT on width calculation 1999/05/19</span></div>[/code:2zj7mj9n]\n\n<!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "08:13",
"topic": "Bug in Menu [Solved]",
"username": "Enrico Maria Giordano"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-03",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nyes, I saw it too, but that couldn't be a recent change.\n\nAnyhow, its solved <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nmany thanks for your feedback",
"time": "10:19",
"topic": "Bug in Menu [Solved]",
"username": "Antonio Linares"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-03",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Antonio,\n\n[quote=\"Antonio Linares\":13xibg5d]Enrico,\n\nyes, I saw it too, but that couldn't be a recent change.[/quote:13xibg5d]\n\nThat's why I said \"in the far past\". <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[quote=\"Antonio Linares\":13xibg5d]Anyhow, its solved <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nmany thanks for your feedback[/quote:13xibg5d]\n\nYou're welcome, my friend! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "11:15",
"topic": "Bug in Menu [Solved]",
"username": "Enrico Maria Giordano"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-04",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "I did report this behavior in May 2008 [url:3prfo902]http://forums.fivetechsupport.com/viewtopic.php?f=6&t=11165&hilit=menu+ancho[/url:3prfo902] and, as suggested per Antonio I did some testing, working better changing the value from 100 to 55.\n[code=fw:3prfo902]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />f oItem != <span style=\"color: #00C800;\">nil</span><br /> MenuMeasureItem<span style=\"color: #000000;\">(</span> pMitStruct,;<br /> <span style=\"color: #000000;\">0.9</span> * GetTextWidth<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! Empty<span style=\"color: #000000;\">(</span> oItem:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span>,;<br /> StrTran<span style=\"color: #000000;\">(</span> oItem:<span style=\"color: #000000;\">cPrompt</span>, <span style=\"color: #ff0000;\">\"&\"</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + ;<br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> oItem:<span style=\"color: #000000;\">oMenu</span>:<span style=\"color: #000000;\">hMenu</span> != <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oMenu</span> != <span style=\"color: #00C800;\">nil</span>, ::<span style=\"color: #000000;\">oMenu</span>:<span style=\"color: #000000;\">hMenu</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>, ;<br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> ValType<span style=\"color: #000000;\">(</span> oItem:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> chr<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">)</span>$oItem:<span style=\"color: #000000;\">cPrompt</span>, <span style=\"color: #000000;\">55</span>, <span style=\"color: #000000;\">55</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span> ,; <span style=\"color: #B900B9;\">// Changed to 55 from 100 </span><br /> Empty<span style=\"color: #000000;\">(</span> oItem:<span style=\"color: #000000;\">cPrompt</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span> <span style=\"color: #B900B9;\">// + 20 introduced due Error on NT on width calculation 1999/05/19</span><br /> <span style=\"color: #00C800;\">if</span> IsMenuItem<span style=\"color: #000000;\">(</span> pMitStruct <span style=\"color: #000000;\">)</span><br /> MenuMeasureItem<span style=\"color: #000000;\">(</span> pMitStruct,, IsMISeparator<span style=\"color: #000000;\">(</span> pMitStruct <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">return</span> .f. <span style=\"color: #B900B9;\">// default behavior</span><br /> <span style=\"color: #00C800;\">endif</span><br /> </div>[/code:3prfo902]\nRegards,\n\nGeorge",
"time": "15:36",
"topic": "Bug in Menu [Solved]",
"username": "George"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2014-08-04",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Time flies <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nI really forgot about that one <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "15:39",
"topic": "Bug in Menu [Solved]",
"username": "Antonio Linares"
}
] |
Bug in Menu [Solved]
|
[
{
"date": "2007-05-20",
"forum": "FiveWin for Pocket PC",
"text": "This is the sample:\n\n[code:2l2r2rep]#include \"Fwce.ch\"\n\n\nFUNCTION MAIN()\n\n DBCREATE( CURDIR() + \"\\TMPTEST\", { { \"TEST\", \"C\", 10, 0 } } )\n\n USE ( CURDIR() + \"\\TMPTEST\" )\n\n APPEND BLANK\n\n REPLACE FIELD -> test WITH \"Test 1\"\n\n APPEND BLANK\n\n REPLACE FIELD -> test WITH \"Test 2\"\n\n DELETE\n\n PACK\n\n CLOSE\n\n MSGINFO( \"Done!\" )\n\n RETURN NIL[/code:2l2r2rep]\n\nIt seems that PACK recovers deleted flag instead of to remove the deleted record.\n\nProbably it is a bug in Harbour_CE. It is working fine with current Harbour from CVS.\n\nEMG",
"time": "12:51",
"topic": "Bug in PACK command",
"username": "Enrico Maria Giordano"
}
] |
Bug in PACK command
|
[
{
"date": "2007-05-20",
"forum": "FiveWin for Pocket PC",
"text": "Enrico\n\nPack works OK you have to add \n\nSET DELETE ON\n\nRegards \n\nRichard <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->",
"time": "16:42",
"topic": "Bug in PACK command",
"username": "Richard Chidiak"
}
] |
Bug in PACK command
|
[
{
"date": "2007-05-20",
"forum": "FiveWin for Pocket PC",
"text": "No, SET DELETED ON is not required for PACK to work. Anyway, I just tried with SET DELETED ON and found the same result.\n\nI'm using FWPPC 7.02.\n\nEMG",
"time": "17:20",
"topic": "Bug in PACK command",
"username": "Enrico Maria Giordano"
}
] |
Bug in PACK command
|
[
{
"date": "2007-05-20",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nChanging your code this way:\n\n PACK \n\n MsgInfo( RecCount() )\n\nIt shows 1, which it seems correct",
"time": "18:09",
"topic": "Bug in PACK command",
"username": "Antonio Linares"
}
] |
Bug in PACK command
|
[
{
"date": "2007-05-20",
"forum": "FiveWin for Pocket PC",
"text": "Yes, but now try to open TMPTEST.DBF and you will see that there are two records.\n\nEMG",
"time": "18:52",
"topic": "Bug in PACK command",
"username": "Enrico Maria Giordano"
}
] |
Bug in PACK command
|
[
{
"date": "2007-05-20",
"forum": "FiveWin for Pocket PC",
"text": "This is the modified sample showing that the record is not removed:\n\n[code:3qgt03dr]#include \"Fwce.ch\"\n\n\nFUNCTION MAIN()\n\n SET DELETED ON\n\n DBCREATE( CURDIR() + \"\\TMPTEST\", { { \"TEST\", \"C\", 10, 0 } } )\n\n USE ( CURDIR() + \"\\TMPTEST\" )\n\n APPEND BLANK\n\n REPLACE FIELD -> test WITH \"Test 1\"\n\n APPEND BLANK\n\n REPLACE FIELD -> test WITH \"Test 2\"\n\n DELETE\n\n PACK\n\n CLOSE\n\n USE ( CURDIR() + \"\\TMPTEST\" )\n\n MSGINFO( RECCOUNT() )\n\n CLOSE\n\n MSGINFO( \"Done!\" )\n\n RETURN NIL[/code:3qgt03dr]\n\nEMG",
"time": "19:33",
"topic": "Bug in PACK command",
"username": "Enrico Maria Giordano"
}
] |
Bug in PACK command
|
[
{
"date": "2007-05-20",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nIt is related to the SD memory card. Copy the EXE to the Pocket PC root path and it works fine there",
"time": "19:50",
"topic": "Bug in PACK command",
"username": "Antonio Linares"
}
] |
Bug in PACK command
|
[
{
"date": "2007-05-20",
"forum": "FiveWin for Pocket PC",
"text": "Sorry, I haven't a pocket PC. How can I do the same using the emulator?\n\nEMG",
"time": "19:56",
"topic": "Bug in PACK command",
"username": "Enrico Maria Giordano"
}
] |
Bug in PACK command
|
[
{
"date": "2007-05-20",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nKeep the mouse pressed on top of the EXE until a popup is shown, then select copy. Then select \"My Device\" from the top menu of the file explorer and right click and select paste. Then run it there.\n[url=http://imageshack.us:2nakd7nh][img:2nakd7nh]http://img399.imageshack.us/img399/6691/copydm3.png[/img:2nakd7nh][/url:2nakd7nh]\n[url=http://imageshack.us:2nakd7nh][img:2nakd7nh]http://img399.imageshack.us/img399/4901/pastekh9.png[/img:2nakd7nh][/url:2nakd7nh]",
"time": "20:15",
"topic": "Bug in PACK command",
"username": "Antonio Linares"
}
] |
Bug in PACK command
|
[
{
"date": "2007-05-20",
"forum": "FiveWin for Pocket PC",
"text": "Yes, this way it works. Unfortunately, this makes the emulator much less useful. I wonder if there is a way to get the program to run correctly on the storage card...\n\nEMG",
"time": "23:31",
"topic": "Bug in PACK command",
"username": "Enrico Maria Giordano"
}
] |
Bug in PACK command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nHarbour uses the same functions to manage files when it runs on the memory card, so its a difference on the Windows Mobile OS",
"time": "06:31",
"topic": "Bug in PACK command",
"username": "Antonio Linares"
}
] |
Bug in PACK command
|
[
{
"date": "2011-02-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello!\n\nIf I use TRANSPARENT with DIALOG the displayed text of REDEFINED SAY is cutted:\n\n[img:31xk6v29]http://www.ibtc.biz/tmp/2011-02-12_19-39-14.png[/img:31xk6v29]\n\n[code=fw:31xk6v29]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> DialogFromResource1<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg<br /> <span style=\"color: #00C800;\">LOCAL</span> cText<br /><br /> cText := <span style=\"color: #ff0000;\">\"*** Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. ***\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"DIALOG1\"</span> <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #00C800;\">NIL</span>,RGB<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">239</span>,<span style=\"color: #000000;\">239</span>,<span style=\"color: #000000;\">231</span><span style=\"color: #000000;\">)</span> TRANSPARENT<br /><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #0000ff;\">PROMPT</span> cText <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">500</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:31xk6v29]\n\nwithout TRANSPARENT the whole text is displayed:\n\n[img:31xk6v29]http://www.ibtc.biz/tmp/2011-02-12_19-39-54.png[/img:31xk6v29]\n\n[code=fw:31xk6v29]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> DialogFromResource2<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg<br /> <span style=\"color: #00C800;\">LOCAL</span> cText<br /><br /> cText := <span style=\"color: #ff0000;\">\"*** Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. ***\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"DIALOG1\"</span> <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #00C800;\">NIL</span>,RGB<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">239</span>,<span style=\"color: #000000;\">239</span>,<span style=\"color: #000000;\">231</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #0000ff;\">PROMPT</span> cText <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">500</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:31xk6v29]\n\nThe resource file:\n\n[code=fw:31xk6v29]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">DIALOG1 DIALOGEX DISCARDABLE <span style=\"color: #000000;\">44</span>, <span style=\"color: #000000;\">23</span>, <span style=\"color: #000000;\">400</span>, <span style=\"color: #000000;\">107</span><br /><span style=\"color: #0000ff;\">STYLE</span> WS_POPUP|DS_MODALFRAME|DS_3DLOOK|WS_CAPTION|WS_SYSMENU|WS_VISIBLE<br /><span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"MS Sans Serif\"</span><br /><span style=\"color: #000000;\">{</span><br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">500</span>, <span style=\"color: #ff0000;\">\"Static\"</span>, WS_GROUP, <span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">18</span>, <span style=\"color: #000000;\">388</span>, <span style=\"color: #000000;\">68</span><br /><span style=\"color: #000000;\">}</span></div>[/code:31xk6v29]\n\nHow can this bug fixed?",
"time": "19:47",
"topic": "Bug in REDEFINE SAY?",
"username": "IBTC"
}
] |
Bug in REDEFINE SAY?
|
[
{
"date": "2011-02-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This problem still exists in FWH 11.01. <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\nAnd now I also found a (new?) Memory leak:\n\n[code=fw:m88w20sf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #000000;\">02</span>/<span style=\"color: #000000;\">15</span>/<span style=\"color: #000000;\">11</span> <span style=\"color: #000000;\">16</span>:<span style=\"color: #000000;\">37</span>:<span style=\"color: #000000;\">12</span>: <span style=\"color: #0000ff;\">BRUSH</span>,<span style=\"color: #000000;\">3048</span>,TDIALOG:<span style=\"color: #000000;\">SETCOLOR</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">2477</span><span style=\"color: #000000;\">)</span>->TDIALOG:<span style=\"color: #00C800;\">NEW</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">196</span><span style=\"color: #000000;\">)</span>->DIALOGFROMRESOURCE1<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">39</span><span style=\"color: #000000;\">)</span>-><span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">19</span><span style=\"color: #000000;\">)</span>->TBTNBMP:<span style=\"color: #0000ff;\">CLICK</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">466</span><span style=\"color: #000000;\">)</span>->TBTNBMP:<span style=\"color: #000000;\">LBUTTONUP</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">661</span><span style=\"color: #000000;\">)</span>->TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">1489</span><span style=\"color: #000000;\">)</span>->TBTNBMP:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">1453</span><span style=\"color: #000000;\">)</span>->_FWH<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">3408</span><span style=\"color: #000000;\">)</span>->WINRUN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">)</span>->TWINDOW:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">992</span><span style=\"color: #000000;\">)</span>->MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">22</span><span style=\"color: #000000;\">)</span></div>[/code:m88w20sf]\n\nThe code:\n\n[code=fw:m88w20sf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd<br /><br /> SetResDebug<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">40</span> ;<br /> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /><br /> @ <span style=\"color: #000000;\">15</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">140</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Dialog from Resource\"</span> <span style=\"color: #000000;\">2007</span> <span style=\"color: #0000ff;\">ACTION</span> DialogFromResource1<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> @ <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">140</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Dialog from Resource\"</span> <span style=\"color: #000000;\">2007</span> <span style=\"color: #0000ff;\">ACTION</span> DialogFromResource2<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br /> FERASE<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"CHECKRES.TXT\"</span><span style=\"color: #000000;\">)</span><br /> CHECKRES<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> winExec<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"notepad .<span style=\"color: #000000;\">\\c</span>heckres.txt\"</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">)</span><br /> </div>[/code:m88w20sf]\n\nRest of the code see above, also the rc file.",
"time": "16:43",
"topic": "Bug in REDEFINE SAY?",
"username": "IBTC"
}
] |
Bug in REDEFINE SAY?
|
[
{
"date": "2011-03-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Ruediger\n\nRe: text display ........................reprehend <end>\n\nIt looks like you have reached the limit of a character field. 255 happends to be the mac character field in clipper/dbase file.\nMaybe it is the version of harbour that has changed to enforce the limit?\n\nTry using MsgInfo() to disply 'cText' to see whats there. MsgInfo() is a windows display function.\n\nYou would normally use LTEXT in your resources to display static text.\nHave you tried to use memo resources to display it. An example is the way I use an RC to capture text as a memo.\n\nEDITTEXT 110, 16, 46, 342, 128, ES_MULTILINE | ES_WANTRETURN | WS_BORDER | WS_VSCROLL | WS_TABSTOP\n\nThe 'Say' class does not have a MEMO multi line option but 'get' class does.\nI have never used 'Say' for such long text!\nI'm interested in your solution to this.",
"time": "22:38",
"topic": "Bug in REDEFINE SAY?",
"username": "Jonathan Hodder"
}
] |
Bug in REDEFINE SAY?
|
[
{
"date": "2011-03-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Jonathan,\n\n[quote=\"Jonathan Hodder\":9kdph653]It looks like you have reached the limit of a character field. 255 happends to be the mac character field in clipper/dbase file.\nMaybe it is the version of harbour that has changed to enforce the limit?\n[/quote:9kdph653]\n\nEverything work well without TRANSPARENT, only if I add TRANSPARENT (with the same Harbour version, the same FWH version, the same rest of source code etc.) the whole text isn't displayed. So, for me, it seems that there must be a bug in FWH. If I reached a limit of a character field with SAY, why did the problem didn't exists without TRANSPARENT, only with TRANSPARENT?\n\n[quote=\"Jonathan Hodder\":9kdph653]Have you tried to use memo resources to display it.[/quote:9kdph653]\n\nThanks for this idea. I will try it ASAP.",
"time": "23:23",
"topic": "Bug in REDEFINE SAY?",
"username": "IBTC"
}
] |
Bug in REDEFINE SAY?
|
[
{
"date": "2011-03-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Ruediger\n\nalready fixed...\n\nyou can use momentarily this patch...\n\n[url:3oua1rqb]http://www.sitasoft.net/fivewin/files/patch.obj[/url:3oua1rqb]\n\nlink before fivewin lib\n\nthis a sample working, thanks for the samples posted... was very useful help to solve the problem\n[url:3oua1rqb]http://www.sitasoft.net/fivewin/samples/ibtc.zip[/url:3oua1rqb]",
"time": "02:34",
"topic": "Bug in REDEFINE SAY?",
"username": "Daniel Garcia-Gil"
}
] |
Bug in REDEFINE SAY?
|
[
{
"date": "2011-03-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Daniel,\n\n[quote=\"Daniel Garcia-Gil\":ccr16yiz]\nalready fixed...\n\nyou can use momentarily this patch...\n[/quote:ccr16yiz]\n\nThanks. It works. <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "23:25",
"topic": "Bug in REDEFINE SAY?",
"username": "IBTC"
}
] |
Bug in REDEFINE SAY?
|
[
{
"date": "2011-03-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Daniel Garcia-Gil\":1h3fxgv6][url:1h3fxgv6]http://www.sitasoft.net/fivewin/samples/ibtc.zip[/url:1h3fxgv6][/quote:1h3fxgv6]\n\nUnfortunately, your sample doesn't work correctly in the new FWH release. One star at the end of the phrase is missing.\n\nEMG",
"time": "22:52",
"topic": "Bug in REDEFINE SAY?",
"username": "Enrico Maria Giordano"
}
] |
Bug in REDEFINE SAY?
|
[
{
"date": "2011-04-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Daniel, Antonio\n\npodrian, poner el patch.obj para microsoft o pelles c compiler.\n\ngracias.\n\n\nsalu2\ncarlos vargas",
"time": "18:53",
"topic": "Bug in REDEFINE SAY?",
"username": "carlos vargas"
}
] |
Bug in REDEFINE SAY?
|
[
{
"date": "2011-04-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Carlos...\n\nque version de fivewin usas?",
"time": "19:57",
"topic": "Bug in REDEFINE SAY?",
"username": "Daniel Garcia-Gil"
}
] |
Bug in REDEFINE SAY?
|
[
{
"date": "2011-04-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "10.07\n\nsalu2\ncarlos vargas",
"time": "20:02",
"topic": "Bug in REDEFINE SAY?",
"username": "carlos vargas"
}
] |
Bug in REDEFINE SAY?
|
[
{
"date": "2011-05-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Unfortunately this bug is back in latest FWH:\n\n[code=fw:3gdtfhqj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br /> TRANSPARENT<br /><br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"This is a test\"</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br /> <span style=\"color: #0000ff;\">CENTER</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:3gdtfhqj]\n\n<!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "18:50",
"topic": "Bug in REDEFINE SAY?",
"username": "Enrico Maria Giordano"
}
] |
Bug in REDEFINE SAY?
|
[
{
"date": "2011-05-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nFixed <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nWe are going to publish a revised FWH 11.05",
"time": "23:16",
"topic": "Bug in REDEFINE SAY?",
"username": "Antonio Linares"
}
] |
Bug in REDEFINE SAY?
|
[
{
"date": "2011-05-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Many thanks, Master! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "23:23",
"topic": "Bug in REDEFINE SAY?",
"username": "Enrico Maria Giordano"
}
] |
Bug in REDEFINE SAY?
|
[
{
"date": "2015-10-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The result of ResizeImg() is slightly different in width and height if compared with ResizeBmp() and PalBmpDraw().\n\nEMG",
"time": "15:22",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Is it related to last FWH build 4 ?",
"time": "15:47",
"topic": "Bug in ResizeImg()",
"username": "Marco Turco"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Marco,\n\nno, it was there in the previous builds too.\n\nEMG",
"time": "16:01",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Unfortunately, there is no source code for ResizeImg() so I can't try to fix the problem. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "16:51",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nI send you its source code by email, thanks",
"time": "20:17",
"topic": "Bug in ResizeImg()",
"username": "Antonio Linares"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nthank you. I'll do some experiment with it.\n\nEMG",
"time": "20:20",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nfound! Replace\n\n[code=fw:215wzw38]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> iRateW = <span style=\"color: #000000;\">(</span> DOUBLE <span style=\"color: #000000;\">)</span> iNewWidth / <span style=\"color: #000000;\">(</span> DOUBLE <span style=\"color: #000000;\">)</span> bm.bmWidth * <span style=\"color: #000000;\">100</span> + <span style=\"color: #000000;\">1</span>;<br /> iRateH = <span style=\"color: #000000;\">(</span> DOUBLE <span style=\"color: #000000;\">)</span> iNewHeight / <span style=\"color: #000000;\">(</span> DOUBLE <span style=\"color: #000000;\">)</span> bm.bmHeight * <span style=\"color: #000000;\">100</span> + <span style=\"color: #000000;\">1</span>;<br /> </div>[/code:215wzw38]\n\nwith\n\n[code=fw:215wzw38]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> iRateW = <span style=\"color: #000000;\">(</span> DOUBLE <span style=\"color: #000000;\">)</span> iNewWidth / <span style=\"color: #000000;\">(</span> DOUBLE <span style=\"color: #000000;\">)</span> bm.bmWidth * <span style=\"color: #000000;\">100</span>;<br /> iRateH = <span style=\"color: #000000;\">(</span> DOUBLE <span style=\"color: #000000;\">)</span> iNewHeight / <span style=\"color: #000000;\">(</span> DOUBLE <span style=\"color: #000000;\">)</span> bm.bmHeight * <span style=\"color: #000000;\">100</span>;</div>[/code:215wzw38]\n\nEMG",
"time": "20:31",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I spoke too fast. It GPFs, I don't know why. I continue to experiment...\n\nEMG",
"time": "20:46",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "It seems to work in this form:\n\n[code=fw:qofa2y71]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> iRateW = <span style=\"color: #000000;\">(</span> DOUBLE <span style=\"color: #000000;\">)</span> iNewWidth / <span style=\"color: #000000;\">(</span> DOUBLE <span style=\"color: #000000;\">)</span> bm.bmWidth * <span style=\"color: #000000;\">100</span> + <span style=\"color: #000000;\">0.9</span>;<br /> iRateH = <span style=\"color: #000000;\">(</span> DOUBLE <span style=\"color: #000000;\">)</span> iNewHeight / <span style=\"color: #000000;\">(</span> DOUBLE <span style=\"color: #000000;\">)</span> bm.bmHeight * <span style=\"color: #000000;\">100</span> + <span style=\"color: #000000;\">0.9</span>;</div>[/code:qofa2y71]\n\nPlease check.\n\nEMG",
"time": "20:51",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nCould you please provide an example to test it ? thanks",
"time": "23:07",
"topic": "Bug in ResizeImg()",
"username": "Antonio Linares"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Here it is:\n\n[code=fw:xmw1gp0w]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> TEST<span style=\"color: #000000;\">(</span> .T. <span style=\"color: #000000;\">)</span><br /><br /> TEST<span style=\"color: #000000;\">(</span> .F. <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> TEST<span style=\"color: #000000;\">(</span> lImg <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br /> <span style=\"color: #0000ff;\">STYLE</span> NOR<span style=\"color: #000000;\">(</span> WS_POPUP, WS_DLGFRAME, DS_MODALFRAME <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>, <span style=\"color: #000000;\">600</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> DRAWIMG<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\m</span>agic.bmp\"</span>, hDC, oDlg:<span style=\"color: #000000;\">nWidth</span>, oDlg:<span style=\"color: #000000;\">nHeight</span>, lImg <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">CENTER</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> DRAWIMG<span style=\"color: #000000;\">(</span> cFile, hDC, nWidth, nHeight, lImg <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> hImg := LOADIMG<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> hImg2<br /><br /> <span style=\"color: #00C800;\">IF</span> lImg<br /> hImg2 = RESIZEIMG<span style=\"color: #000000;\">(</span> hImg, nWidth, nHeight <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">ELSE</span><br /> hImg2 = RESIZEBMP<span style=\"color: #000000;\">(</span> hImg, nWidth, nHeight <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /> ABPAINT<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, hImg2, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span><br /><br /> DELETEOBJECT<span style=\"color: #000000;\">(</span> hImg2 <span style=\"color: #000000;\">)</span><br /> DELETEOBJECT<span style=\"color: #000000;\">(</span> hImg <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> LOADIMG<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">IF</span> !FILE<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> GDIP_IMAGEFROMFILE<span style=\"color: #000000;\">(</span> cFile, .T. <span style=\"color: #000000;\">)</span></div>[/code:xmw1gp0w]\n\nEMG",
"time": "23:59",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Another request. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nResizeImg() is a bit slower, probably due to the two nested loops involved. How to speed it up?\n\nEMG",
"time": "12:23",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nDo you need to resize the bitmap or simply paint it larger ?",
"time": "13:50",
"topic": "Bug in ResizeImg()",
"username": "Antonio Linares"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nyes, paint it larger (or smaller). But ABPaint() doesn't support resize.\n\nEMG",
"time": "14:09",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nNot sure if we can speed up the loop",
"time": "14:14",
"topic": "Bug in ResizeImg()",
"username": "Antonio Linares"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nhow can we paint faster an alpha-channel image with resize?\n\nEMG",
"time": "14:24",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nI am afraid that we can't (maybe using GDI+?) as FWH function ABPaint() just calls Windows API function AlphaBlend()",
"time": "14:43",
"topic": "Bug in ResizeImg()",
"username": "Antonio Linares"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nI tried GDIPLUSIMAGERESIZE( hBmp, nWidth, nHeight ) but it GPFs. What am I doing wrong?\n\nEMG",
"time": "14:50",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\n[quote=\"Antonio Linares\":1k3i0pmb]FWH function ABPaint() just calls Windows API function AlphaBlend()[/quote:1k3i0pmb]\n\nIt seems that AlphaBlend() can resize the image:\n\n[url:1k3i0pmb]https://msdn.microsoft.com/it-it/library/windows/desktop/dd183351(v=vs.85).aspx[/url:1k3i0pmb]\n\nCan you add two parameters with nWidth and nHeight (or can send me the source code to experiment)?\n\nEMG",
"time": "15:34",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Alternatively, I found that ResizeBmp() works very well and fast if SetStretchBltMode() is set to COLORONCOLOR:\n\n[code=fw:3s11i903]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">SetStretchBltMode <span style=\"color: #000000;\">(</span>hdcDest, COLORONCOLOR<span style=\"color: #000000;\">)</span>;</div>[/code:3s11i903]\n\nWhat do you think about it?\n\nEMG",
"time": "17:21",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "If you go to call gdi + pictures, you redimensionaleas also from GDI + ...\n\n[code=fw:1kfjdd0c]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> DRAWIMG<span style=\"color: #000000;\">(</span> cFile, hDC, nWidth, nHeight, lImg <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> hImg := LoadresizedImage<span style=\"color: #000000;\">(</span> cFile ,nWith, nHeight<span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #B900B9;\">// LOCAL hImg2</span><br /><br /> <span style=\"color: #B900B9;\">// IF lImg</span><br /> <span style=\"color: #B900B9;\">// hImg2 = RESIZEIMG( hImg, nWidth, nHeight )</span><br /> <span style=\"color: #B900B9;\">// ELSE</span><br /> <span style=\"color: #B900B9;\">// hImg2 = RESIZEBMP( hImg, nWidth, nHeight )</span><br /> <span style=\"color: #B900B9;\">// ENDIF</span><br /><br /> ABPAINT<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, hImg, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #B900B9;\">// DELETEOBJECT( hImg2 )</span><br /> DELETEOBJECT<span style=\"color: #000000;\">(</span> hImg <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">function</span> LoadresizedImage<span style=\"color: #000000;\">(</span> cFile ,nWith, nHeight<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> hbitmap<br /><span style=\"color: #00C800;\">local</span> ogdi:=gdibmp<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">new</span><span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /> ogdi:<span style=\"color: #000000;\">resize</span><span style=\"color: #000000;\">(</span> nWith, nHeight <span style=\"color: #000000;\">)</span><br /> hbitmap := ogdi:<span style=\"color: #000000;\">GetGDIHbitmap</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <br /> ogdi:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">return</span> hbitmap<br /><br /> </div>[/code:1kfjdd0c]\n\nor \n\n[code=fw:1kfjdd0c]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> DRAWIMG<span style=\"color: #000000;\">(</span> cFile, hDC, nWidth, nHeight, lImg <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> hgdiImg := GdiPlusImageLoadCachedFile<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> gdinewhBmp := GdiPlusImageResize<span style=\"color: #000000;\">(</span>hgdiImg , nWidth, nHeight <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">LOCAL</span> hImg2 := GdiPlusCreateHBitmapImage<span style=\"color: #000000;\">(</span> gdinewhBmp <span style=\"color: #000000;\">)</span><br /><br /> ABPAINT<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, hImg2, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span><br /><br /> DELETEOBJECT<span style=\"color: #000000;\">(</span> hImg2 <span style=\"color: #000000;\">)</span><br /> GdiPlusImageDispose<span style=\"color: #000000;\">(</span> gdinewhBmp <span style=\"color: #000000;\">)</span><br /> gdinewhBmp = <span style=\"color: #00C800;\">nil</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> <br /><br /> </div>[/code:1kfjdd0c]",
"time": "19:44",
"topic": "Bug in ResizeImg()",
"username": "mastintin"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nI already sent you function ABPaint() source code by email",
"time": "20:20",
"topic": "Bug in ResizeImg()",
"username": "Antonio Linares"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"mastintin\":3i8uunya]If you go to call gdi + pictures, you redimensionaleas also from GDI + ...[/quote:3i8uunya]\n\nThank you, but doing so the file must be reloaded. I would want to resize an already loaded hBmp. Is it possible?\n\nEMG",
"time": "20:33",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\n[quote=\"Antonio Linares\":9pdn7oxt]Enrico,\n\nI already sent you function ABPaint() source code by email[/quote:9pdn7oxt]\n\nThank you. I'll study it.\n\nEMG",
"time": "20:33",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "ok. From hbitmap\n[code=fw:hp30jmch]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">Function</span> GdiResizeImage<span style=\"color: #000000;\">(</span> hImg , nwidth, nHeight<span style=\"color: #000000;\">)</span> <br /><span style=\"color: #00C800;\">local</span> hGdiBmp:= GdiPlusCreateImageFrom32hBitmap<span style=\"color: #000000;\">(</span> hImg <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> gdinewhBmp := GdiPlusImageResize<span style=\"color: #000000;\">(</span>hgdibmp, nWidth, nHeight <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">LOCAL</span> hImg2 := GdiPlusCreateHBitmapImage<span style=\"color: #000000;\">(</span> gdinewhBmp <span style=\"color: #000000;\">)</span><br /> GdiPlusImageDispose<span style=\"color: #000000;\">(</span> hGdiBmp <span style=\"color: #000000;\">)</span><br /> GdiPlusImageDispose<span style=\"color: #000000;\">(</span> gdinewhBmp <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">Return</span> hImg2<br /><br /> </div>[/code:hp30jmch]",
"time": "21:53",
"topic": "Bug in ResizeImg()",
"username": "mastintin"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2015-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you. But I think that using AlphaBlend() features would be much more efficient. I'm implementing the required changes.\n\nEMG",
"time": "21:57",
"topic": "Bug in ResizeImg()",
"username": "Enrico Maria Giordano"
}
] |
Bug in ResizeImg()
|
[
{
"date": "2011-02-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi!\n\nIf I press on the first button:\n\n[img:g5me738g]http://www.ibtc.biz/tmp/2011-02-04_15-43-48.png[/img:g5me738g]\n\nI get this:\n\n[img:g5me738g]http://www.ibtc.biz/tmp/2011-02-04_15-44-22.png[/img:g5me738g]\n\nOnly the text oft the buttons of the same group get gray, not the others:\n\n[img:g5me738g]http://www.ibtc.biz/tmp/2011-02-04_15-45-06.png[/img:g5me738g]\n\nI tried already a lot with different refresh etc., but nothing worked. How can this problem solved?\n\nThe code:\n\n[code=fw:g5me738g]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"ribbon.ch\"</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd<br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oRibbon, oGr<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span>, oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">LOCAL</span> lValid := .T.<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;\">22</span>, <span style=\"color: #000000;\">75</span> ;<br /> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Test Ribbon\"</span><br /><br /> oRibbon := TRibbonBar<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span>oWnd, <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Item 1\"</span>,<span style=\"color: #ff0000;\">\"Item 2\"</span> <span style=\"color: #000000;\">}</span>, ,, oWnd:<span style=\"color: #000000;\">nWidth</span>, <span style=\"color: #000000;\">132</span>, <span style=\"color: #000000;\">26</span> <span style=\"color: #000000;\">)</span><br /><br /> ADD GROUP oGr<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> RIBBON oRibbon <span style=\"color: #0000ff;\">TO</span> OPTION <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"\"</span> WIDTH <span style=\"color: #000000;\">173</span><br /><br /> @ <span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">5</span> ADD <span style=\"color: #0000ff;\">BUTTON</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Press to Change\"</span> BITMAP <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #0000ff;\">CENTER</span> GROUP oGr<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">ROUND</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">83</span>,<span style=\"color: #000000;\">75</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span> lValid := !lValid<br /><br /> @ <span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">88</span> ADD <span style=\"color: #0000ff;\">BUTTON</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Button 1\"</span> BITMAP <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #0000ff;\">CENTER</span> GROUP oGr<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">ROUND</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">83</span>,<span style=\"color: #000000;\">75</span>;<br /> <span style=\"color: #0000ff;\">WHEN</span> lValid <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"Button 1\"</span><span style=\"color: #000000;\">)</span><br /><br /> ADD GROUP oGr<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> RIBBON oRibbon <span style=\"color: #0000ff;\">TO</span> OPTION <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"\"</span> WIDTH <span style=\"color: #000000;\">90</span><br /><br /> @ <span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">5</span> ADD <span style=\"color: #0000ff;\">BUTTON</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Button 2\"</span> BITMAP <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #0000ff;\">CENTER</span> GROUP oGr<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">ROUND</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">83</span>,<span style=\"color: #000000;\">75</span>;<br /> <span style=\"color: #0000ff;\">WHEN</span> lValid <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"Button 2\"</span><span style=\"color: #000000;\">)</span><br /><br /> ADD GROUP oGr<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span> RIBBON oRibbon <span style=\"color: #0000ff;\">TO</span> OPTION <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"\"</span> WIDTH <span style=\"color: #000000;\">90</span><br /><br /> @ <span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">5</span> ADD <span style=\"color: #0000ff;\">BUTTON</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Button 3\"</span> BITMAP <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #0000ff;\">CENTER</span> GROUP oGr<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">ROUND</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">83</span>,<span style=\"color: #000000;\">75</span>;<br /> <span style=\"color: #0000ff;\">WHEN</span> lValid <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"Button 3\"</span><span style=\"color: #000000;\">)</span><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: #000000;\">(</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">)</span><br /> </div>[/code:g5me738g]\n\nThanks for help.",
"time": "15:53",
"topic": "Bug in RibbonBar?",
"username": "IBTC"
}
] |
Bug in RibbonBar?
|
[
{
"date": "2011-02-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This problem still exists in FWH 11.01. <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->",
"time": "16:19",
"topic": "Bug in RibbonBar?",
"username": "IBTC"
}
] |
Bug in RibbonBar?
|
[
{
"date": "2011-02-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Silvio,\n\n[quote=\"Silvio\":3gvlp5eb]if you press a button on a group this button became gray no the others ...\nor I not understood your problem\nribbon run ok here[/quote:3gvlp5eb]\n\nPlease have a closer look to the source code. All buttons except the first one have this:\n\n[code=fw:3gvlp5eb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #0000ff;\">WHEN</span> lValid</div>[/code:3gvlp5eb]\n\nIf you press the first button, lValid changed and all other buttons are invalid. That means when you click on all other buttons (except the first one) nothing happens. But only the buttons in the first group (except the first) get gray. Why not \"Button 2\" and \"Button 3\"?\n\nI advice to compile the sample code and make your own test:\n\n- First click on \"Button 1\", \"Button 2\", \"Button 3\". \n- Than click on \"Press to change\". Now you see \"Button 1\" get gray. \n- Now press on \"Button 1\", \"Button 2\", \"Button 3\" and you will (hopefully) see what I mean, what is the bug...",
"time": "23:15",
"topic": "Bug in RibbonBar?",
"username": "IBTC"
}
] |
Bug in RibbonBar?
|
[
{
"date": "2011-02-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "sorry but I not understand the problem\nif you press a button on a group this button became gray no the others ...\nor I not understood your problem\nribbon run ok here",
"time": "22:45",
"topic": "Bug in RibbonBar?",
"username": "Silvio"
}
] |
Bug in RibbonBar?
|
[
{
"date": "2011-02-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Also, when you click several times on the buttons, somethimes the bitmaps just disappear!!!.",
"time": "10:41",
"topic": "Bug in RibbonBar?",
"username": "ukservice"
}
] |
Bug in RibbonBar?
|
[
{
"date": "2006-06-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "It seems that SetCommState() is not able to change the serial communication port baud rate.\n\nAntonio, can you look at it? If you need a sample of the problem please let me know.\n\nEMG",
"time": "21:21",
"topic": "Bug in SetCommState()",
"username": "Enrico Maria Giordano"
}
] |
Bug in SetCommState()
|
[
{
"date": "2006-06-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Found! There are at least the following functions to fix:\n\n[code:1663zlq9]#ifdef __HARBOUR__\n CLIPPER BUILDCOMMDCB( PARAMS ) // () cInfoDef, @ cDeviceBlock --> lOk\n#else\n CLIPPER BUILDCOMMD( PARAMS ) // CB() cInfoDef, @ cDeviceBlock --> lOk\n#endif\n{\n DCB dcb;\n\n GetCommState( hCom, &dcb ); // EMG\n\n #ifdef __FLAT__\n if( BuildCommDCB( _parc( 1 ), &dcb ) ) // OK\n #else\n if( BuildCommDCB( _parc( 1 ), &dcb ) == 0 ) // OK\n #endif\n {\n _storclen( ( char * ) &dcb, sizeof( dcb ), 2 );\n _retl( TRUE );\n }\n else // Error\n {\n _storc( \"\", 2 );\n _retl( FALSE );\n }\n}[/code:1663zlq9]\n\n[code:1663zlq9]#ifdef __HARBOUR__\n CLIPPER SETCOMMSTATE( PARAMS ) // ()\n#else\n CLIPPER SETCOMMSTA( PARAMS ) // TE()\n#endif\n{\n #ifdef __FLAT__\n _retl( SetCommState( hCom, ( DCB FAR * ) _parc( 2 ) ) != 0 ); // EMG\n #else\n _retl( SetCommState( ( DCB FAR * ) _parc( 1 ) ) == 0 );\n #endif\n}[/code:1663zlq9]\n\nand obviously move up nCom definition.\n\nEMG",
"time": "23:29",
"topic": "Bug in SetCommState()",
"username": "Enrico Maria Giordano"
}
] |
Bug in SetCommState()
|
[
{
"date": "2006-06-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nThanks. I guess you declare hComm as static HANDLE hComm;\n\nBut the problem I see is that you can only manage one comm port at the same time, isn't it ?",
"time": "00:17",
"topic": "Bug in SetCommState()",
"username": "Antonio Linares"
}
] |
Bug in SetCommState()
|
[
{
"date": "2006-06-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":zdxnbp4x]Enrico,\n\nThanks. I guess you declare hComm as static HANDLE hComm;[/quote:zdxnbp4x]\n\nNo, you declared it that way. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[quote=\"Antonio Linares\":zdxnbp4x]But the problem I see is that you can only manage one comm port at the same time, isn't it ?[/quote:zdxnbp4x]\n\nYes, this is another problem. Why did you organize comm.c in such way?\n\nEMG",
"time": "00:43",
"topic": "Bug in SetCommState()",
"username": "Enrico Maria Giordano"
}
] |
Bug in SetCommState()
|
[
{
"date": "2006-06-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\n> No, you declared it that way. \n\nYou are totally right <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\n\n> Why did you organize comm.c in such way? \n\nIt has been evolving since 16 bits days: Backwards compatibity, learning and improving, changes... <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->",
"time": "00:52",
"topic": "Bug in SetCommState()",
"username": "Antonio Linares"
}
] |
Bug in SetCommState()
|
[
{
"date": "2006-06-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I know. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nThere is one more problem: WriteComm() seems to [b:nfg0lvyw]not[/b:nfg0lvyw] stop the execution till the sending is completed. How to check if a sending is in progress or make WriteComm() to work sinchronously?\n\nEMG",
"time": "10:04",
"topic": "Bug in SetCommState()",
"username": "Enrico Maria Giordano"
}
] |
Bug in SetCommState()
|
[
{
"date": "2006-06-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Solved:\n\n[code:49dsxbit]short int WriteComm( short int idComDev, void FAR * lpvBuf, short int cbWrite )\n{\n DWORD dwBytesWritten = cbWrite;\n\n overlap.hEvent = CreateEvent( NULL, TRUE, FALSE, NULL ); // EMG\n dwEventsRead = WriteFile( hCom, lpvBuf, cbWrite, &dwBytesWritten, &overlap );\n WaitForSingleObject( overlap.hEvent, INFINITE ); // EMG\n GetOverlappedResult( hCom, &overlap, &dwBytesWritten, FALSE );\n CloseHandle( overlap.hEvent ); // EMG\n return ( ( short int ) dwBytesWritten );\n}[/code:49dsxbit]\n\nEMG",
"time": "12:47",
"topic": "Bug in SetCommState()",
"username": "Enrico Maria Giordano"
}
] |
Bug in SetCommState()
|
[
{
"date": "2006-07-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nI missed this one. Many thanks! <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->",
"time": "22:05",
"topic": "Bug in SetCommState()",
"username": "Antonio Linares"
}
] |
Bug in SetCommState()
|
[
{
"date": "2006-07-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you!\n\nEMG",
"time": "22:16",
"topic": "Bug in SetCommState()",
"username": "Enrico Maria Giordano"
}
] |
Bug in SetCommState()
|
[
{
"date": "2006-09-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I try to fix comm.c with the EMG code, but \ni have compiling errors:\n\n\n\nProgetto: WP32, Ambiente: BorlandWin:\n[1]:Bcc32.Exe -M -c -O2 -tW -v- -X -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_32 -Ic:\\ut\\fwh27\\include -IC:\\BCC55\\Include;C:\\xHxFw27\\Include -nObj comm.c\nBorland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland\ncomm.c:\nError E2451 comm.c 58: Undefined symbol 'hCom' in function BUILDCOMMD\nError E2451 comm.c 85: Undefined symbol 'hCom' in function SETCOMMSTA\n*** 2 errors in Compile ***\n\nI have FWH 2.7 December/2005\n\n Directory di C:\\ut\\fwh27\\source\\winapi\n16/05/2003 10.05 11.841 comm.c",
"time": "15:57",
"topic": "Bug in SetCommState()",
"username": "pymsoft"
}
] |
Bug in SetCommState()
|
[
{
"date": "2006-09-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Put this just before OPENCOMM():\n\n[code:3kdnqrxn]static HANDLE hCom = INVALID_HANDLE_VALUE;[/code:3kdnqrxn]\n\nEMG",
"time": "16:52",
"topic": "Bug in SetCommState()",
"username": "Enrico Maria Giordano"
}
] |
Bug in SetCommState()
|
[
{
"date": "2006-09-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks, now works.",
"time": "17:18",
"topic": "Bug in SetCommState()",
"username": "pymsoft"
}
] |
Bug in SetCommState()
|
[
{
"date": "2006-01-03",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Hi Antônio,\n\nSetDate(02,01,2006) returns 01/01/2006 why?\n\nFwh 2.7\n\nThanks.",
"time": "02:07",
"topic": "Bug in SetDate()",
"username": "Wanderson"
}
] |
Bug in SetDate()
|
[
{
"date": "2009-10-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This is the sample showing the problem. Pressing \"Test\" button the other one lost the skin effect:\n\n[code=fw:3gobddgc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oDlg, oBtn<br /><br /> SKINBUTTONS<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br /> @ <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Test\"</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> oBtn:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oBtn:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Close\"</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br /> <span style=\"color: #0000ff;\">CENTER</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:3gobddgc]\n\nEMG",
"time": "21:52",
"topic": "Bug in SkinButtons()",
"username": "Enrico Maria Giordano"
}
] |
Bug in SkinButtons()
|
[
{
"date": "2009-10-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nIt seems as there is a painting state that we are not controlling yet.\n\nAs a workaround you can do:\n[code=fw:39jdvf5p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> @ <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Test\"</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> oBtn:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oBtn:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oDlg:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:39jdvf5p]",
"time": "22:05",
"topic": "Bug in SkinButtons()",
"username": "Antonio Linares"
}
] |
Bug in SkinButtons()
|
[
{
"date": "2009-10-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio ,\n\nthere is another error \n\nwhen I click on test button ( I click on many tries) the obtn is disable but then I CANNOT CLOSE THE DIALOG !!!!!\n\nI try to click on \"X\" but it not run ok \n\nthe error not run when I click one on test button \n\nto create the error you must click on test button many tries\n\nthen If you wait some seconds you can close the dialog",
"time": "09:27",
"topic": "Bug in SkinButtons()",
"username": "Silvio"
}
] |
Bug in SkinButtons()
|
[
{
"date": "2009-12-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Any news?\n\nEMG",
"time": "12:40",
"topic": "Bug in SkinButtons()",
"username": "Enrico Maria Giordano"
}
] |
Bug in SkinButtons()
|
[
{
"date": "2009-12-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Not yet <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->",
"time": "22:21",
"topic": "Bug in SkinButtons()",
"username": "Antonio Linares"
}
] |
Bug in SkinButtons()
|
[
{
"date": "2009-12-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "No problem, my friend. It's only a pity that such a wonderful option can't be used yet.\n\nEMG",
"time": "13:16",
"topic": "Bug in SkinButtons()",
"username": "Enrico Maria Giordano"
}
] |
Bug in SkinButtons()
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.