Click here to Skip to main content
15,926,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalforgot something... Pin
ns13-Jul-02 0:40
ns13-Jul-02 0:40 
GeneralRe: forgot something... Pin
Nish Nishant13-Jul-02 0:51
sitebuilderNish Nishant13-Jul-02 0:51 
GeneralRe: forgot something... Pin
Brian Delahunty13-Jul-02 4:20
Brian Delahunty13-Jul-02 4:20 
AnswerRe: Menu "Exit" - which class in MDI should handle this COMMAND handler? Pin
Ancient Dragon13-Jul-02 0:46
Ancient Dragon13-Jul-02 0:46 
GeneralHELP!!!!!!!!!!!! Pin
MFC is the Best12-Jul-02 23:49
MFC is the Best12-Jul-02 23:49 
GeneralRe: HELP!!!!!!!!!!!! Pin
Nish Nishant13-Jul-02 0:05
sitebuilderNish Nishant13-Jul-02 0:05 
GeneralRe: HELP!!!!!!!!!!!! Pin
MFC is the Best13-Jul-02 0:12
MFC is the Best13-Jul-02 0:12 
GeneralRe: HELP!!!!!!!!!!!! Pin
Nish Nishant13-Jul-02 0:32
sitebuilderNish Nishant13-Jul-02 0:32 
Okay

I am gonna make a guess here, but I think I am gonna back my guess Smile | :)

I just added a listbox to a new dialog and associated it with a CDragListBox object, compiled, ran and got the debug assert

The problem is that, by default the dialog resource editor will set the LBS_SORT style for the list box control. That's what causing the assert.

Take properties and make the Sort property to False, it'll be True by default.

Now you won't have the error Smile | :)

Regards
Nish


Author of the romantic comedy

Summer Love and Some more Cricket [New Win]

Review by Shog9
Click here for review[NW]

GeneralRe: HELP!!!!!!!!!!!! Pin
MFC is the Best13-Jul-02 0:34
MFC is the Best13-Jul-02 0:34 
GeneralRe: HELP!!!!!!!!!!!! Pin
Christian Graus13-Jul-02 0:17
protectorChristian Graus13-Jul-02 0:17 
GeneralRe: HELP!!!!!!!!!!!! Pin
MFC is the Best13-Jul-02 0:30
MFC is the Best13-Jul-02 0:30 
Generalmsxml parser Pin
Tzoockee12-Jul-02 22:45
Tzoockee12-Jul-02 22:45 
GeneralRe: msxml parser Pin
Giles12-Jul-02 23:10
Giles12-Jul-02 23:10 
GeneralSocket and IOCP Pin
Anonymous12-Jul-02 22:37
Anonymous12-Jul-02 22:37 
GeneralRe: Socket and IOCP Pin
Anonymous12-Jul-02 23:01
Anonymous12-Jul-02 23:01 
GeneralRe: Socket and IOCP Pin
Giles12-Jul-02 23:22
Giles12-Jul-02 23:22 
GeneralRe: Socket and IOCP Pin
Giles12-Jul-02 23:13
Giles12-Jul-02 23:13 
Generalurgent! how to paint CToolBar Pin
includeh1012-Jul-02 21:59
includeh1012-Jul-02 21:59 
GeneralRe: urgent! how to paint CToolBar Pin
Michael Dunn13-Jul-02 7:11
sitebuilderMichael Dunn13-Jul-02 7:11 
Questionurgent! how to paint border of CWnd? Pin
includeh1012-Jul-02 21:52
includeh1012-Jul-02 21:52 
AnswerRe: urgent! how to paint border of CWnd? Pin
NormDroid12-Jul-02 23:22
professionalNormDroid12-Jul-02 23:22 
GeneralRe: urgent! how to paint border of CWnd? Pin
includeh1013-Jul-02 0:15
includeh1013-Jul-02 0:15 
GeneralRe: urgent! how to paint border of CWnd? Pin
NormDroid13-Jul-02 1:00
professionalNormDroid13-Jul-02 1:00 
GeneralDraw select part of the bitmap Pin
chen12-Jul-02 20:58
chen12-Jul-02 20:58 
GeneralRe: Draw select part of the bitmap Pin
Christian Graus12-Jul-02 21:07
protectorChristian Graus12-Jul-02 21:07 

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.