Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 28 May 2011
Offline Last Active Aug 29 2012 07:51 PM

#4968896 win32 dialog question

Posted by on 12 August 2012 - 06:31 PM

I am solving the problem by calling dialogbox() from in the winmain() main function. The dialog and window behave like normal when I don't use wm_create in the windows procedure. Also why are people rating me down whenever I post?

#4968755 "Must-Learn" Languages

Posted by on 12 August 2012 - 11:33 AM

C, C++, Assembly

In that order.

With C and C++ you can create whatever you can imagine.

With assembly added you will be a god instead of an angel

#4968744 win32 dialog question

Posted by on 12 August 2012 - 10:37 AM

I answered my own question.

Its because wm_create is called before the window is drawn.

Thank you anyways gamedev!

I still wonder why the window wouldn't be drawn after the dialog, I guess you would need to set it as focus somehow so it's procedure is called for a second time.

#4968103 c++ initiliazation what do you call it

Posted by on 10 August 2012 - 09:33 AM

Yes thank you I know I was just posing a question I already knew the answer to. I wanted to expose how the syntax does not hold up. Seems like it was tacked on as an afterthought.

Yes of course always use 0.0f for floats i was just making a quick example my apology.

thank you again for the reply. there is probably a reason this syntax is not recognized in the bjarne stroustrop official reference book.