Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalcreate window Pin
mmvv3-Apr-08 0:58
mmvv3-Apr-08 0:58 
GeneralRe: create window Pin
Hamid_RT7-Apr-08 4:26
Hamid_RT7-Apr-08 4:26 
Generalcreate window Pin
mmvv3-Apr-08 0:57
mmvv3-Apr-08 0:57 
GeneralRe: create window Pin
Le@rner3-Apr-08 1:05
Le@rner3-Apr-08 1:05 
GeneralRe: create window Pin
mmvv3-Apr-08 1:23
mmvv3-Apr-08 1:23 
GeneralRe: create window Pin
Cedric Moonen3-Apr-08 1:37
Cedric Moonen3-Apr-08 1:37 
GeneralRe: create window Pin
Le@rner3-Apr-08 1:42
Le@rner3-Apr-08 1:42 
GeneralRe: create window Pin
James R. Twine3-Apr-08 5:00
James R. Twine3-Apr-08 5:00 
   Since you are using the straight Win32 API, suggestions about MFC are inappropriate, so...

   When you want to go the old-fashioned route, you need to understand Window Classes first.  In order to create a window, Windows needs to know all of the properties of the window you are about to create, such as its background, if it has a menu, icon, cursor, etc.  Many of these properties are stored in something called the Window Class.

   You must first create, and register a Window Class in order to use it with CreateWindow(...).  Lookup the WNDCLASS structure and the RegisterClass(...)/RegisterClassEx(...) functions for more information.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<hr></hr>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles



GeneralRe: create window Pin
CPallini3-Apr-08 1:58
mveCPallini3-Apr-08 1:58 
QuestionTCP File Transfer behind NAT Pin
Saurabh Srivastava2-Apr-08 23:51
Saurabh Srivastava2-Apr-08 23:51 
GeneralRe: TCP File Transfer behind NAT Pin
Mark Salsbery3-Apr-08 6:15
Mark Salsbery3-Apr-08 6:15 
GeneralRe: TCP File Transfer behind NAT Pin
Moak11-Apr-08 12:18
Moak11-Apr-08 12:18 
QuestionTimeline Representation like Windows Movie Maker in MFC Pin
Raja Bose C Leo2-Apr-08 23:07
Raja Bose C Leo2-Apr-08 23:07 
Generalfile count Pin
Member 34205092-Apr-08 22:52
Member 34205092-Apr-08 22:52 
GeneralRe: file count Pin
Iain Clarke, Warrior Programmer3-Apr-08 3:32
Iain Clarke, Warrior Programmer3-Apr-08 3:32 
GeneralRe: file count Pin
David Crow3-Apr-08 3:33
David Crow3-Apr-08 3:33 
GeneralRe: file count Pin
Hamid_RT7-Apr-08 4:25
Hamid_RT7-Apr-08 4:25 
GeneralMenu Itemas are displayed Pin
ptr_Electron2-Apr-08 21:59
ptr_Electron2-Apr-08 21:59 
GeneralRe: Menu Itemas are displayed Pin
Gofur Halmurat2-Apr-08 22:13
Gofur Halmurat2-Apr-08 22:13 
GeneralRe: Menu Itemas are displayed Pin
ptr_Electron2-Apr-08 22:35
ptr_Electron2-Apr-08 22:35 
GeneralRe: Menu Itemas are displayed Pin
ptr_Electron2-Apr-08 22:37
ptr_Electron2-Apr-08 22:37 
QuestionRe: Menu Itemas are displayed Pin
CPallini2-Apr-08 22:32
mveCPallini2-Apr-08 22:32 
GeneralRe: Menu Itemas are displayed Pin
ptr_Electron2-Apr-08 22:41
ptr_Electron2-Apr-08 22:41 
GeneralRe: Menu Itemas are displayed Pin
ptr_Electron2-Apr-08 22:41
ptr_Electron2-Apr-08 22:41 
GeneralRe: Menu Itemas are displayed Pin
CPallini2-Apr-08 22:57
mveCPallini2-Apr-08 22:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.