News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Bitmap as a DialogBox

Started by Shooter, January 03, 2011, 05:51:52 AM

Previous topic - Next topic

Shooter

General question for now: How difficult is it to replace the boxy looking dialog box with a bitmap, complete with standard controls like static text, buttons, etc.?
Never use direct references to anything ever. Bury everything in
macros. Bury the macros in include files. Reference those include
files indirectly from other include files. Use macros to reference
those include files.

remus2k

Hi

This is not difficult only what Nerves is make this picture  ::)
Have you change on you program the dialog or anything must you new make this picture

Search on board for OwnerDraw ,LoadBitmap

caseys

a good example is here masm32\examples\exampl06\mob\cws. it even has box transparency =]

or other way is to use winasm studio to create rc files
Uf, never been so hard to understand

Shooter

Quote from: caseys on January 03, 2011, 10:23:56 AM
a good example is here masm32\examples\exampl06\mob\cws. it even has box transparency =]

or other way is to use winasm studio to create rc files

Thanks, Caseys. I'm toying around with that example now.
Never use direct references to anything ever. Bury everything in
macros. Bury the macros in include files. Reference those include
files indirectly from other include files. Use macros to reference
those include files.

caseys

you welcome mate =] im glad i was able to help
Uf, never been so hard to understand

Shooter

Now, obviously with the standard dialog box window tool bars, status bar, and title bar have a certain amount of flexibility when it comes to resizing the window. Is that possible, or even feasible using a bitmap window?
Never use direct references to anything ever. Bury everything in
macros. Bury the macros in include files. Reference those include
files indirectly from other include files. Use macros to reference
those include files.

caseys

sure! try winasm studio - its easy to make such dialogs using resource editor
Uf, never been so hard to understand