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.