Guest_imported
New member
- Jan 1, 1970
- 0
Hello,
This is a very specific question for C only and using the
Win API function 'DialogBoxIndirect()' function.
I need to be able to create a memory template in order
to call this function for use with dynamically created
dialog boxes that include bitmaps and icons as well as
text.
The doc's on including text strings in the dialog
box are fairly clear, which says something like:
0x82 0x00 followed by the text zstring. The problem is,
for bitmaps it says, "the bitmap has to be declared
somewhere else in the resource file", but i dont want to use
a resource file, i want to place each and every byte into
memory myself. This means i have to know the byte format
of a dialog box memory template, not really the C resource
script conventions.
If anyone can help with this i'd appreciate it.
The main problem is the format for declaring bitmaps and
icons.
Thanks!
This is a very specific question for C only and using the
Win API function 'DialogBoxIndirect()' function.
I need to be able to create a memory template in order
to call this function for use with dynamically created
dialog boxes that include bitmaps and icons as well as
text.
The doc's on including text strings in the dialog
box are fairly clear, which says something like:
0x82 0x00 followed by the text zstring. The problem is,
for bitmaps it says, "the bitmap has to be declared
somewhere else in the resource file", but i dont want to use
a resource file, i want to place each and every byte into
memory myself. This means i have to know the byte format
of a dialog box memory template, not really the C resource
script conventions.
If anyone can help with this i'd appreciate it.
The main problem is the format for declaring bitmaps and
icons.
Thanks!