|
|
#1 |
|
Junior Member
Join Date: May 2007
Posts: 4
|
Dialog Box title showing as 4 boxes?
So I'm new to Windows API programming, and I'm trying to create a simple dialog box for a general purpose plugin configuration.
The dialog box shows up fine, except the dialog box title isn't showing up. Instead I'm seeing 4 boxes, like the string is corrupt or something. Any idea what is going on here? SetWindowText(hwndDlg,PLUGIN_DESC); is what should be setting it, but it's not. PHP Code:
|
|
|
|
|
|
#2 |
|
Junior Member
Join Date: May 2007
Posts: 4
|
Okay I tried doing just a tiny test plug-in, and the text still gets all garbled up, shows up as these little boxes.
![]() PHP Code:
|
|
|
|
|
|
#3 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,210
|
to me that looks like you've got it building as a unicode dll (is UNICODE defined anywhere in the project settings) and hence why you're seeing that messed up text - though i'm sure the compiler should through a few warnings/errors up in that case to not allow it through. other than that i don't know what else would cause it
-daz |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: May 2007
Posts: 4
|
Thanks a lot dude! That was it, it's fixed now.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|