Click here to Skip to main content
15,893,381 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to display 2 byte characters Pin
surendra vk28-Jun-06 16:52
surendra vk28-Jun-06 16:52 
GeneralRe: How to display 2 byte characters Pin
Michael Dunn28-Jun-06 19:26
sitebuilderMichael Dunn28-Jun-06 19:26 
QuestionCreateWindow() issue Pin
Jeremy Falcon28-Jun-06 12:54
professionalJeremy Falcon28-Jun-06 12:54 
AnswerRe: CreateWindow() issue Pin
valikac28-Jun-06 13:10
valikac28-Jun-06 13:10 
GeneralRe: CreateWindow() issue [modified] Pin
Jeremy Falcon28-Jun-06 13:21
professionalJeremy Falcon28-Jun-06 13:21 
AnswerRe: Workaround but still curious... Pin
Jeremy Falcon28-Jun-06 13:42
professionalJeremy Falcon28-Jun-06 13:42 
AnswerRe: CreateWindow() issue Pin
Jörgen Sigvardsson28-Jun-06 14:06
Jörgen Sigvardsson28-Jun-06 14:06 
GeneralRe: CreateWindow() issue Pin
Jeremy Falcon28-Jun-06 14:41
professionalJeremy Falcon28-Jun-06 14:41 
Jörgen Sigvardsson wrote:
ShowWindow() is called *after* you've called CreateWindow()


It has to be, otherwise I wouldn't have a valid handle.

Jörgen Sigvardsson wrote:
Just create the window without the WS_VISIBLE flag.


Did that. In fact I rarely use that bit for a main window.

Jörgen Sigvardsson wrote:
Then call ShowWindow() with SW_SHOWMAXIMIZED.


Did that, except I used SW_MAXIMIZE instead.

Jörgen Sigvardsson wrote:
No screwing around with the message queue.


Not always. At first, doing what you just described, it was showing the window, then showed it maximized, and then drawing the OGL scene. There's a small delay during startup because of the processing involved, but it was a three part startup that I could actually watch happen.

So, I thought, why just use the bit in CreatWindow() itself except that didn't work. Hence my post.

Anyway, I got around it by messing with my drawing code, but I would still like to know why in tarnation that style bit didn't work for CreateWindow.

Jeremy Falcon
GeneralRe: CreateWindow() issue Pin
Jeremy Falcon28-Jun-06 14:46
professionalJeremy Falcon28-Jun-06 14:46 
Question[Message Deleted] Pin
aafcls28-Jun-06 10:57
aafcls28-Jun-06 10:57 
AnswerRe: OnInitDialog Pin
led mike28-Jun-06 11:27
led mike28-Jun-06 11:27 
AnswerRe: OnInitDialog Pin
cje28-Jun-06 11:50
cje28-Jun-06 11:50 
AnswerRe: OnInitDialog Pin
Jeremy Falcon28-Jun-06 13:06
professionalJeremy Falcon28-Jun-06 13:06 
AnswerRe: OnInitDialog Pin
Hamid_RT28-Jun-06 19:15
Hamid_RT28-Jun-06 19:15 
QuestionWinsock question Pin
bcstone28-Jun-06 9:45
bcstone28-Jun-06 9:45 
QuestionRe: Winsock question Pin
David Crow28-Jun-06 10:46
David Crow28-Jun-06 10:46 
AnswerRe: Winsock question Pin
bcstone28-Jun-06 10:53
bcstone28-Jun-06 10:53 
AnswerRe: Winsock question Pin
led mike28-Jun-06 11:24
led mike28-Jun-06 11:24 
GeneralRe: Winsock question Pin
bcstone28-Jun-06 12:47
bcstone28-Jun-06 12:47 
GeneralRe: Winsock question [modified] Pin
led mike29-Jun-06 5:38
led mike29-Jun-06 5:38 
AnswerRe: Winsock question Pin
Jeremy Falcon28-Jun-06 13:04
professionalJeremy Falcon28-Jun-06 13:04 
GeneralRe: Winsock question Pin
bcstone28-Jun-06 13:26
bcstone28-Jun-06 13:26 
GeneralRe: Winsock question Pin
Jeremy Falcon28-Jun-06 13:27
professionalJeremy Falcon28-Jun-06 13:27 
AnswerRe: Winsock question Pin
Jörgen Sigvardsson28-Jun-06 14:10
Jörgen Sigvardsson28-Jun-06 14:10 
QuestionCListCtrl Pin
ftsOne28-Jun-06 8:53
ftsOne28-Jun-06 8:53 

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.