News:

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

dlgbox ? window?

Started by digelo, March 01, 2010, 07:53:52 AM

Previous topic - Next topic

digelo

Whats defrent between using a dlgbox as main or using windows that we make by WindowCreatex ?

MichaelW

Try comparing \masm32\examples\exampl01\oldstyle to \masm32\examples\dialogs\simple. A dialog is generally easier to code, particularly if it is a modal dialog where the system dialog box manager provides the message loop.
eschew obfuscation

digelo

So its ok if i use a dialogbox as my main, there is no limit for me?

MichaelW

For small simple applications I would use a dialog. With a dialog you can do at least most things that you can do with a normal application window, but for some things the additional code required for the dialog will eliminate the advantage of using a dialog.
eschew obfuscation

digelo

My problem is im using RadAsm as editor, is there any way for using that visual abilities in designing forms for Windows apps too?  or i can only use them in dialogboxes?

hmm i dunno if its right that i asked this here   :toothy

hutch--

 :bg

No problem in asking but you will need someone who is familiar with RadAsm. Basics hold true however you code it, a dialog is fine for simple interface requirements but you can do more with a CreateWindowEx()/WndProc() but at the expense of more work.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

digelo


hoverlees

You can create a child dialog box,and then add it into your window. ::)