Click here to Skip to main content
16,005,149 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCOleVariant::GetByteArrayFromVariantArray Pin
weehau29-Nov-06 1:30
weehau29-Nov-06 1:30 
AnswerRe: COleVariant::GetByteArrayFromVariantArray Pin
CPallini29-Nov-06 2:06
mveCPallini29-Nov-06 2:06 
QuestionSetWindowPos() woes Pin
DanB198329-Nov-06 1:22
DanB198329-Nov-06 1:22 
AnswerRe: SetWindowPos() woes Pin
Roger Stoltz29-Nov-06 1:44
Roger Stoltz29-Nov-06 1:44 
QuestionRe: SetWindowPos() woes Pin
prasad_som29-Nov-06 2:43
prasad_som29-Nov-06 2:43 
AnswerRe: SetWindowPos() woes Pin
Roger Stoltz29-Nov-06 4:21
Roger Stoltz29-Nov-06 4:21 
GeneralRe: SetWindowPos() woes Pin
prasad_som29-Nov-06 22:14
prasad_som29-Nov-06 22:14 
GeneralRe: SetWindowPos() woes Pin
Roger Stoltz29-Nov-06 23:27
Roger Stoltz29-Nov-06 23:27 
Ok, now I see what you mean.

The OP did not say anything about at what point he was calling SetWindowPos() from InitInstance().
At the top of InitInstance() the window has not been created yet and the call will generate an assertion failure.
You can try it by copying the call to ShowWindow() to the top of InitInstance().

However, I'm referring to VC6 and the OP is using VC7 so this may have changed, but I doubt it.

--
Roger


"It's supposed to be hard, otherwise anybody could do it!" - selfquote

"No one remembers a coward!" - Jan Elfström 1998
"...but everyone remembers an idiot!" - my lawyer 2005 when heard of Jan's saying above

GeneralRe: SetWindowPos() woes Pin
prasad_som29-Nov-06 23:38
prasad_som29-Nov-06 23:38 
GeneralRe: SetWindowPos() woes Pin
Roger Stoltz30-Nov-06 0:17
Roger Stoltz30-Nov-06 0:17 
AnswerRe: SetWindowPos() woes Pin
CPallini29-Nov-06 1:51
mveCPallini29-Nov-06 1:51 
QuestionRe: SetWindowPos() woes Pin
David Crow29-Nov-06 2:43
David Crow29-Nov-06 2:43 
QuestionCRecordset Limitation Pin
Pasha829-Nov-06 1:11
Pasha829-Nov-06 1:11 
AnswerRe: CRecordset Limitation [modified] Pin
prasad_som29-Nov-06 2:30
prasad_som29-Nov-06 2:30 
QuestionRe: CRecordset Limitation Pin
David Crow29-Nov-06 2:47
David Crow29-Nov-06 2:47 
AnswerRe: CRecordset Limitation Pin
prasad_som29-Nov-06 2:51
prasad_som29-Nov-06 2:51 
GeneralRe: CRecordset Limitation Pin
Pasha829-Nov-06 3:36
Pasha829-Nov-06 3:36 
GeneralRe: CRecordset Limitation Pin
prasad_som29-Nov-06 22:17
prasad_som29-Nov-06 22:17 
GeneralRe: CRecordset Limitation Pin
Pasha81-Dec-06 19:38
Pasha81-Dec-06 19:38 
QuestionCRecordset Limitation Pin
Pasha829-Nov-06 1:06
Pasha829-Nov-06 1:06 
Questionsockets Pin
69 Bay29-Nov-06 1:01
69 Bay29-Nov-06 1:01 
AnswerRe: sockets Pin
Mark Salsbery29-Nov-06 5:01
Mark Salsbery29-Nov-06 5:01 
Questionhow to use project files inside another project Pin
singersinger29-Nov-06 0:52
singersinger29-Nov-06 0:52 
GeneralRe: how to use project files inside another project Pin
prasad_som29-Nov-06 2:35
prasad_som29-Nov-06 2:35 
Questionbitmaps & buttons in a dialog Pin
69 Bay29-Nov-06 0:51
69 Bay29-Nov-06 0:51 

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.