Toolbar and MDI app
Miron the Master
linxman@polbox.com
Fri Jan 30 12:32:00 GMT 1998
>>
>> Hi again,
>> I'm working on a small text editor which uses MDI.
>> Can anyone tell me how to create a working toolbar for it.
>> I've tried using CreateToolbarEx but it just draws the toolbar and
>> doesn't do anything else.
>
>CreateToolbarEx doesn't write the callback functions for you. You have
>to tell the system what to do when a toolbar button is pressed. Read the
>docs because this is not very simple
>
>
>--
>Jacob Navia Logiciels/Informatique
>41 rue Maurice Ravel Tel 01 48.23.51.44
>93430 Villetaneuse Fax 01 48.23.95.39
>France
I see you don't understand what my problem is, so here's the source.
Daniel Mironowicz miron-the-master@usa.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tbmdi.cc
Type: text/x-c
Size: 5962 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/19980130/5a8dd6e6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tbmdi.exe
Type: application/x-dosexec
Size: 24064 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/19980130/5a8dd6e6/attachment-0001.bin>
-------------- next part --------------
#define ID_BITMAP 150
#define IDM_NEW 100
#define IDM_OPEN 101
#define IDM_SAVE 102
#define IDM_PRINT 105
#define IDM_CUT 202
#define IDM_COPY 203
#define IDM_PASTE 204
#define IDM_FIND 300
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tbmdi.rc
Type: text/x-c
Size: 52 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/19980130/5a8dd6e6/attachment-0002.bin>
More information about the Cygwin
mailing list