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

C / C++ / MFC

 
AnswerRe: vector class memory usage Pin
Aescleal4-Jun-10 10:34
Aescleal4-Jun-10 10:34 
QuestionWrite Specific File Properties [Solved] Pin
jlangholzj4-Jun-10 5:46
jlangholzj4-Jun-10 5:46 
AnswerRe: Write Specific File Properties Pin
Nuri Ismail4-Jun-10 5:57
Nuri Ismail4-Jun-10 5:57 
GeneralRe: Write Specific File Properties Pin
jlangholzj4-Jun-10 6:09
jlangholzj4-Jun-10 6:09 
QuestionReadOnly Radio button Pin
Anu_Bala3-Jun-10 20:35
Anu_Bala3-Jun-10 20:35 
AnswerRe: ReadOnly Radio button Pin
Niklas L3-Jun-10 22:02
Niklas L3-Jun-10 22:02 
GeneralRe: ReadOnly Radio button Pin
Code-o-mat3-Jun-10 22:22
Code-o-mat3-Jun-10 22:22 
AnswerRe: ReadOnly Radio button Pin
Code-o-mat3-Jun-10 22:12
Code-o-mat3-Jun-10 22:12 
Create your own CButton class, in it, handle the following messages:
WM_LBUTTONDOWN -> void OnLButtonDown(UINT nFlags, CPoint point)
WM_LBUTTONUP -> void OnLButtonUp(UINT nFlags, CPoint point)
WM_LBUTTONDBLCLK -> void OnLButtonDblClk(UINT nFlags, CPoint point)
WM_KEYDOWN -> void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
WM_KEYUP -> void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags)
WM_CHAR -> void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)
In each of these functions, do nothing, don't call the super versions either. Don't know how failsafe it is, but seems to be working for me. Good luck.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Computers are evil, EVIL i tell you!! <

GeneralRe: ReadOnly Radio button Pin
Niklas L3-Jun-10 22:21
Niklas L3-Jun-10 22:21 
GeneralRe: ReadOnly Radio button Pin
Code-o-mat3-Jun-10 22:23
Code-o-mat3-Jun-10 22:23 
GeneralRe: ReadOnly Radio button Pin
Niklas L3-Jun-10 22:35
Niklas L3-Jun-10 22:35 
GeneralRe: ReadOnly Radio button Pin
Anu_Bala3-Jun-10 22:38
Anu_Bala3-Jun-10 22:38 
GeneralRe: ReadOnly Radio button Pin
Code-o-mat3-Jun-10 22:47
Code-o-mat3-Jun-10 22:47 
GeneralRe: ReadOnly Radio button Pin
Anu_Bala3-Jun-10 23:51
Anu_Bala3-Jun-10 23:51 
GeneralRe: ReadOnly Radio button Pin
Code-o-mat4-Jun-10 0:08
Code-o-mat4-Jun-10 0:08 
GeneralRe: ReadOnly Radio button Pin
Rick York4-Jun-10 8:11
mveRick York4-Jun-10 8:11 
GeneralRe: ReadOnly Radio button Pin
Code-o-mat4-Jun-10 9:12
Code-o-mat4-Jun-10 9:12 
GeneralRe: ReadOnly Radio button Pin
Rick York4-Jun-10 9:38
mveRick York4-Jun-10 9:38 
GeneralRe: ReadOnly Radio button Pin
Code-o-mat4-Jun-10 9:50
Code-o-mat4-Jun-10 9:50 
Questionunresolved external symbol sqlcxt Pin
ravi1204863-Jun-10 19:54
ravi1204863-Jun-10 19:54 
AnswerRe: unresolved external symbol sqlcxt Pin
«_Superman_»3-Jun-10 19:57
professional«_Superman_»3-Jun-10 19:57 
GeneralRe: unresolved external symbol sqlcxt Pin
ravi1204863-Jun-10 20:38
ravi1204863-Jun-10 20:38 
GeneralRe: unresolved external symbol sqlcxt Pin
«_Superman_»3-Jun-10 20:39
professional«_Superman_»3-Jun-10 20:39 
GeneralRe: unresolved external symbol sqlcxt Pin
ravi1204863-Jun-10 20:57
ravi1204863-Jun-10 20:57 
GeneralRe: unresolved external symbol sqlcxt Pin
«_Superman_»3-Jun-10 20:59
professional«_Superman_»3-Jun-10 20:59 

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.