Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   How to build application using a custom GUI (http://www.go4expert.com/forums/build-application-using-custom-gui-t4285/)

Izarf 12May2007 17:26

How to build application using a custom GUI
 
http://uploader.polorix.net//files/85/mainWindow.png

I've thought a lot about how to build this application and concluded
that I must make the main form invisible and somehow apply the images
that represent buttons etc to some kind of invisible form if that is possible.

Is that the right way to to it, or do you know of anything else?

shabbir 12May2007 18:09

Re: How to build application using a custom GUI
 
You do not need to make it invisible but make it transparent and only the controls on them should be doing the Gui.

Izarf 12May2007 18:12

Re: How to build application using a custom GUI
 
won't the the controls too become invisible if I make the form totally transparent?

shabbir 12May2007 18:14

Re: How to build application using a custom GUI
 
Quote:

Originally Posted by Izarf
won't the the controls too become invisible if I make the form totally transparent?

Nope. That should not be the case. The control / dialog that you make transparent becomes transparent and not all the child controls on it.

Izarf 12May2007 19:17

Re: How to build application using a custom GUI
 
Thanks, I'll try that

Izarf 12May2007 22:43

Re: How to build application using a custom GUI
 
Edit: What should I write to just make the dialog transparent?

shabbir 13May2007 08:45

Re: How to build application using a custom GUI
 
You need to handle the complete drawing of the dialog and its not some flag or something. you can try the TransparentBlt function to get the effect.


All times are GMT +5.5. The time now is 09:20.