http://bugs.winehq.org/show_bug.cgi?id=11386
Summary: IP Address Control busted? Product: Wine Version: 0.9.54. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
This may be related to or masked by bug 2149 / bug 1798. A user reported that his in-house app couldn't even jam anything into the IP address control:
--- snip --- I tried [Robert Reif's example app from comment 1 of bug 2149]. I also can type into it and can disable/enable it. but my problem is more than that.
In my app, I can also type into ip address control box. but the thing is what I typed is simply ignored.
I am not actually a C/C++ programmer. So I can read codes and modify but it's not easy for me to start a new app by myself. So sorry I cant give u a example.
but hope this helps:
as i need to set port and IP.
the port input box is simply a text input box. with the following codes, my app can display 49152 and 1 respectively in my two ports input boxes in WINE in Fedora 8. /*********************************************************************** ***********/ GetDlgItem(IDC_EDIT_MTX1_PORT)->SetWindowText("49152");//default value 49152 can be displayed in WINE GetDlgItem(IDC_EDIT_MTX1_PORT)->EnableWindow(TRUE);//normal text input box GetDlgItem(IDC_EDIT_MTX2_PORT)->SetWindowText("1");//default value 1 can be displayed in WINE GetDlgItem(IDC_EDIT_MTX2_PORT)->EnableWindow(TRUE); //normal text input box /*********************************************************************** ***********/ but the following codes:
/*********************************************************************** ***********/ GetDlgItem(IDC_IPADDRESS_MTX1)->EnableWindow(TRUE);//ip address control input box GetDlgItem(IDC_IPADDRESS_MTX1)->SetWindowText("1.1.1.1");//default value cant be displayed in WINE GetDlgItem(IDC_IPADDRESS_MTX2)->EnableWindow(TRUE);//ip address control input box GetDlgItem(IDC_IPADDRESS_MTX2)->SetWindowText("2.2.2.2");//default value cant be displayed in WINE /*********************************************************************** ***********/ My app does not show "1.1.1.1" or "2.2.2.2" in ip address control input boxes in WINE.
And of course the codes work in windows.
In Wine, when the ip address control gets focus, I see err:ipaddress:IPADDRESS_GetPartIndex We subclassed the wrong window! (hwnd=0x2002a) on the console. --- snip ---
He can't provide a demo app, but perhaps the above info is enough to track this down.
http://bugs.winehq.org/show_bug.cgi?id=11386
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|0.9.54. |0.9.53.
--- Comment #1 from Dan Kegel dank@kegel.com 2008-01-29 20:19:19 --- User reports he was testing with wine-0.9.53.
http://bugs.winehq.org/show_bug.cgi?id=11386
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.radmin.com/produc | |ts/utilities/ipscanner.php Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |download
--- Comment #2 from Dan Kegel dank@kegel.com 2008-06-05 08:24:17 --- Another report: http://www.winehq.org/pipermail/wine-users/2008-June/035954.html This one has a downloadable app, so I've set the url and added the download keyword. Still broken with rc3. Example run:
$ wine Advanced\ IP\ Scanner.exe err:ipaddress:IPADDRESS_GetPartIndex We subclassed the wrong window! (hwnd=0x10026) err:ipaddress:IPADDRESS_GetPartIndex We subclassed the wrong window! (hwnd=(nil))
And typing the 3rd digit of an ip address component doesn't work.
'winetricks cc580' works around the problem, so it's definitely in comctl32.
http://bugs.winehq.org/show_bug.cgi?id=11386
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #3 from Dan Kegel dank@kegel.com 2008-06-05 08:44:15 --- dup, duh.
*** This bug has been marked as a duplicate of bug 9924 ***
http://bugs.winehq.org/show_bug.cgi?id=11386
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com 2008-10-31 13:58:09 --- Closing duplicate.