windres and CONTROL object

Mumit Khan khan@nanotech.wisc.edu
Thu Nov 11 09:11:00 GMT 1999


"Jimen Ching" <jimen@adtech-inc.com> writes:
> Hi,
> 
> I'm trying to compile a free program called putty.  It uses the CONTROL
> object of the resource compiler and I noticed windres doesn't seem to
> support it.  The section of code is this.
> 
> 
> IDD_MAINBOX DIALOG DISCARDABLE 0, 0, 180, 216
> STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
> CAPTION "PuTTY Configuration"
> FONT 8, "MS Sans Serif"
> BEGIN
>     DEFPUSHBUTTON "&Open", IDOK, 86, 199, 44, 14
>     PUSHBUTTON "&Cancel", IDCANCEL, 133, 199, 44, 14
>     PUSHBUTTON "&About", IDC_ABOUT, 3, 199, 44, 14, NOT WS_TABSTOP
>     CONTROL "", IDC_TAB, L"SysTabControl32", TCS_MULTILINE | WS_TABSTOP,
> 	3, 3, 174, 193
> END
> 
> Will this be added in the next release?  If not, I'm willing to
> write support for this if you can point me in the right direction.

Ah, forgot about this bug! It has to do with L"string", which windres
can't handle. Anybody know how wide character and/or unicode is handled 
in resources?

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list