Click here to Skip to main content
15,907,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why I can't use one more CBUTTON variable Pin
Cedric Moonen23-May-05 3:35
Cedric Moonen23-May-05 3:35 
GeneralRe: Why I can't use one more CBUTTON variable Pin
yeetins23-May-05 3:47
yeetins23-May-05 3:47 
GeneralRe: Why I can't use one more CBUTTON variable Pin
toxcct23-May-05 3:50
toxcct23-May-05 3:50 
GeneralRe: Why I can't use one more CBUTTON variable Pin
yeetins23-May-05 3:59
yeetins23-May-05 3:59 
GeneralRe: Why I can't use one more CBUTTON variable Pin
toxcct23-May-05 4:08
toxcct23-May-05 4:08 
GeneralRe: Why I can't use one more CBUTTON variable Pin
yeetins23-May-05 4:17
yeetins23-May-05 4:17 
GeneralRe: Why I can't use one more CBUTTON variable Pin
toxcct23-May-05 4:20
toxcct23-May-05 4:20 
GeneralRe: Why I can't use one more CBUTTON variable Pin
Cedric Moonen23-May-05 3:53
Cedric Moonen23-May-05 3:53 
yeetins wrote:
When?I don't konw.When I started,it didn't happen.

I don't ask when during the developement of your project it happened but when during your program that is running ! Is it when you launch your program or is it when you press the button ??


yeetins wrote:
the instructions that causes the crash is "CBUTTON m_BUTTON1" in the header file.

It is NOT an instruction ! You just declare a variable inside a header file. It is impossible that this is causing the bug. And also, you are using CBUTTON or CButton ? Because CBUTTON is probably then a user defined class ? From where does that come ??

I will suggest you to take some time to understand how to use the debugger because it is a really powerfull tool and you can obtain results much more quickier than posting on the forum. To start the debugger, press F5 and to set breakpoints (points in which the program will be stopped and where you can watch the value of the different variables) press F9. Then what you can do to see what instruction causes the crash is using step by step debugging (with F11 if I remember correctly).
GeneralRe: Why I can't use one more CBUTTON variable Pin
yeetins23-May-05 4:07
yeetins23-May-05 4:07 
GeneralRe: Why I can't use one more CBUTTON variable Pin
Cedric Moonen23-May-05 4:18
Cedric Moonen23-May-05 4:18 
GeneralRe: Why I can't use one more CBUTTON variable Pin
toxcct23-May-05 4:19
toxcct23-May-05 4:19 
GeneralRe: Why I can't use one more CBUTTON variable Pin
yeetins23-May-05 4:28
yeetins23-May-05 4:28 
GeneralRe: Why I can't use one more CBUTTON variable Pin
David Crow23-May-05 4:26
David Crow23-May-05 4:26 
GeneralRe: Why I can't use one more CBUTTON variable Pin
yeetins23-May-05 4:44
yeetins23-May-05 4:44 
GeneralRe: Why I can't use one more CBUTTON variable Pin
BlackDice23-May-05 5:10
BlackDice23-May-05 5:10 
QuestionInheritance? Pin
Bob Stanneveld23-May-05 2:43
Bob Stanneveld23-May-05 2:43 
AnswerRe: Inheritance? Pin
GDavy23-May-05 3:19
GDavy23-May-05 3:19 
GeneralRe: Inheritance? Pin
Bob Stanneveld23-May-05 3:50
Bob Stanneveld23-May-05 3:50 
AnswerRe: Inheritance? Pin
Ryan Binns23-May-05 3:58
Ryan Binns23-May-05 3:58 
GeneralRe: Inheritance? Pin
Bob Stanneveld23-May-05 6:04
Bob Stanneveld23-May-05 6:04 
AnswerRe: Inheritance? Pin
S. Senthil Kumar23-May-05 5:25
S. Senthil Kumar23-May-05 5:25 
GeneralRe: Inheritance? Pin
Bob Stanneveld23-May-05 20:14
Bob Stanneveld23-May-05 20:14 
GeneralRadio Button Pin
alvarillo23-May-05 2:31
alvarillo23-May-05 2:31 
GeneralRe: Radio Button Pin
David Crow23-May-05 4:39
David Crow23-May-05 4:39 
GeneralRemoving Items From A Listbox Pin
[d3m0n]23-May-05 2:26
[d3m0n]23-May-05 2:26 

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.