NO

Author Topic: WndProc in header file?  (Read 11059 times)

Offline Stefan Pendl

  • Global Moderator
  • Member
  • *****
  • Posts: 582
    • Homepage
Re: WndProc in header file?
« Reply #15 on: October 05, 2012, 09:41:35 PM »
@Stefan: to whom that is ???

Sorry Timo, I forgot to quote the message portion I was referring to :(

I have now edited the message to include whom I addressed this reply to.
---
Stefan

Proud member of the UltraDefrag Development Team

CommonTater

  • Guest
Re: WndProc in header file?
« Reply #16 on: October 05, 2012, 09:53:00 PM »
Hi Common tater
Thanks for example , and that is exactly what i want
BUT problematic part is how control each new window with WndProcedure.
As you know when i click Exit then all windows are closed,right?

What i want is that you can close new window that old window stay opened.

Did you try clicking the X on the top right corner?


Quote
Do you know how to do that for example with one window which is created when i doubleclick
exe ,then when i click on this first window 'new window' that new window is created and
when i want to close just this 'new' window that old stay .
any idea is welcome..

What I gave you was an example of how you can create multiple windows in the same class, with the same windowproc and the same message loop... In no way was I trying to give you some completely resolved and useable application... That's YOUR job, not mine.  I can point you in the right direction, which I did... the rest is up to you.

Now you should go back to Winprog.org and actually read the tutorial and work with the examples... Everything you need to know is there.  It's how I got started.

 
 
« Last Edit: October 05, 2012, 09:59:11 PM by CommonTater »