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

C / C++ / MFC

 
QuestionCString functions, .Find() Pin
bosfan23-Mar-06 4:36
bosfan23-Mar-06 4:36 
AnswerRe: CString functions, .Find() Pin
Cedric Moonen23-Mar-06 4:45
Cedric Moonen23-Mar-06 4:45 
GeneralRe: CString functions, .Find() Pin
bosfan23-Mar-06 7:57
bosfan23-Mar-06 7:57 
GeneralRe: CString functions, .Find() Pin
Rage23-Mar-06 8:35
professionalRage23-Mar-06 8:35 
GeneralRe: CString functions, .Find() Pin
bosfan23-Mar-06 10:24
bosfan23-Mar-06 10:24 
GeneralRe: CString functions, .Find() Pin
bolivar12323-Mar-06 8:36
bolivar12323-Mar-06 8:36 
GeneralRe: CString functions, .Find() Pin
bosfan23-Mar-06 10:28
bosfan23-Mar-06 10:28 
QuestionWM_NCHITTEST and borders Pin
Axonn Echysttas23-Mar-06 4:14
Axonn Echysttas23-Mar-06 4:14 
Heya everybody. I got a question about WM_NCHITTEST...

I got a window with thick border and to prevent the user to resize it, I have to interpret WM_NCHITTEST and return HTBORDER when the mouse is over the border. However... the question is... is there an easy way to know when the mouse is over the border??? Or do I have to make some arithmetical checks for this? As far as I see the problem right now, the only way to determine when the mouse is over a border is to calculate by using the lParam of WM_NCHITTEST which tells me screen-relative X/Y position.

-= E C H Y S T T A S =-
The Greater Mind Balance
AnswerRe: WM_NCHITTEST and borders Pin
includeh1023-Mar-06 6:24
includeh1023-Mar-06 6:24 
GeneralRe: WM_NCHITTEST and borders Pin
Axonn Echysttas23-Mar-06 22:37
Axonn Echysttas23-Mar-06 22:37 
AnswerRe: WM_NCHITTEST and borders Pin
PJ Arends23-Mar-06 6:32
professionalPJ Arends23-Mar-06 6:32 
GeneralRe: WM_NCHITTEST and borders Pin
Axonn Echysttas23-Mar-06 22:41
Axonn Echysttas23-Mar-06 22:41 
AnswerRe: WM_NCHITTEST and borders Pin
Nibu babu thomas23-Mar-06 18:34
Nibu babu thomas23-Mar-06 18:34 
QuestionGDI+ problem Pin
anton_prokofyev23-Mar-06 4:07
anton_prokofyev23-Mar-06 4:07 
AnswerRe: GDI+ problem Pin
PJ Arends23-Mar-06 6:50
professionalPJ Arends23-Mar-06 6:50 
GeneralRe: GDI+ problem Pin
anton_prokofyev23-Mar-06 20:13
anton_prokofyev23-Mar-06 20:13 
AnswerRe: GDI+ problem Pin
anton_prokofyev23-Mar-06 21:36
anton_prokofyev23-Mar-06 21:36 
QuestionHow can I pass an array as a function parameter? Pin
Cristoff23-Mar-06 2:51
Cristoff23-Mar-06 2:51 
AnswerRe: How can I pass an array as a function parameter? Pin
toxcct23-Mar-06 3:03
toxcct23-Mar-06 3:03 
AnswerRe: How can I pass an array as a function parameter? Pin
Waldermort23-Mar-06 3:05
Waldermort23-Mar-06 3:05 
AnswerRe: How can I pass an array as a function parameter? Pin
Cedric Moonen23-Mar-06 3:15
Cedric Moonen23-Mar-06 3:15 
AnswerThank you! Pin
Cristoff23-Mar-06 3:30
Cristoff23-Mar-06 3:30 
QuestionBitmap Pin
srija23-Mar-06 2:50
srija23-Mar-06 2:50 
AnswerRe: Bitmap Pin
Waldermort23-Mar-06 2:58
Waldermort23-Mar-06 2:58 
GeneralRe: Bitmap Pin
srija24-Mar-06 1:24
srija24-Mar-06 1:24 

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.