Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can I make a modeless topmost for the desktop ? Pin
yarp20-Oct-05 6:19
yarp20-Oct-05 6:19 
QuestionAccess Violation Error Pin
nripun18-Oct-05 3:50
nripun18-Oct-05 3:50 
AnswerRe: Access Violation Error Pin
David Crow18-Oct-05 3:57
David Crow18-Oct-05 3:57 
GeneralRe: Access Violation Error Pin
Chris Losinger18-Oct-05 4:03
professionalChris Losinger18-Oct-05 4:03 
GeneralRe: Access Violation Error Pin
David Crow18-Oct-05 4:43
David Crow18-Oct-05 4:43 
GeneralRe: Access Violation Error Pin
Chris Losinger18-Oct-05 4:50
professionalChris Losinger18-Oct-05 4:50 
GeneralRe: Access Violation Error Pin
nripun18-Oct-05 5:21
nripun18-Oct-05 5:21 
GeneralRe: Access Violation Error Pin
Rage18-Oct-05 5:43
professionalRage18-Oct-05 5:43 
nripun wrote:
the Debug Assertion Error i mentioned


Which line of code is actually asserting ? Can you post the code (meaning the block containing the ASSERT(), not your line of code) ?

nripun wrote:
..... it actually worked


Here I have to second DAvid : It seems to have worked, most surely this will not survive the release version.

You need to do all this at least inside OnInitDialog, or after it has been called, otherwise the controls do not exist as such (which explains the hWnd = ??) you mentioned.

~RaGE();
GeneralRe: Access Violation Error Pin
nripun19-Oct-05 0:45
nripun19-Oct-05 0:45 
GeneralRe: Access Violation Error Pin
Rage18-Oct-05 5:47
professionalRage18-Oct-05 5:47 
QuestionRe: Access Violation Error Pin
David Crow18-Oct-05 5:50
David Crow18-Oct-05 5:50 
Questiontime help pleas Pin
Gapilazo18-Oct-05 3:18
Gapilazo18-Oct-05 3:18 
AnswerRe: time help pleas Pin
Calc2018-Oct-05 3:44
Calc2018-Oct-05 3:44 
AnswerRe: time help pleas Pin
vikas amin18-Oct-05 3:45
vikas amin18-Oct-05 3:45 
QuestionRe: time help pleas Pin
David Crow18-Oct-05 3:50
David Crow18-Oct-05 3:50 
QuestionCString memory leak Pin
mails_aphale18-Oct-05 2:50
mails_aphale18-Oct-05 2:50 
AnswerRe: CString memory leak Pin
prasad_som18-Oct-05 3:02
prasad_som18-Oct-05 3:02 
GeneralRe: CString memory leak Pin
mails_aphale18-Oct-05 3:48
mails_aphale18-Oct-05 3:48 
AnswerRe: CString memory leak Pin
vikas amin18-Oct-05 3:51
vikas amin18-Oct-05 3:51 
GeneralRe: CString memory leak Pin
mails_aphale18-Oct-05 18:52
mails_aphale18-Oct-05 18:52 
QuestionRe: CString memory leak Pin
David Crow18-Oct-05 3:52
David Crow18-Oct-05 3:52 
AnswerRe: CString memory leak Pin
Rage18-Oct-05 5:35
professionalRage18-Oct-05 5:35 
GeneralRe: CString memory leak Pin
David Crow18-Oct-05 5:54
David Crow18-Oct-05 5:54 
AnswerRe: CString memory leak Pin
mails_aphale18-Oct-05 18:51
mails_aphale18-Oct-05 18:51 
GeneralRe: CString memory leak Pin
David Crow19-Oct-05 2:43
David Crow19-Oct-05 2:43 

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.