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

C / C++ / MFC

 
GeneralRe: window seen in taskbar Pin
FarPointer31-Mar-06 4:38
FarPointer31-Mar-06 4:38 
QuestionTrapping system calls from an application Pin
Rane30-Mar-06 19:23
Rane30-Mar-06 19:23 
AnswerRe: Trapping system calls from an application Pin
Ștefan-Mihai MOGA30-Mar-06 22:59
professionalȘtefan-Mihai MOGA30-Mar-06 22:59 
QuestionNot getting RecordSet pointer Pin
SanjaySMK30-Mar-06 19:22
SanjaySMK30-Mar-06 19:22 
QuestionRe: Not getting RecordSet pointer Pin
David Crow31-Mar-06 3:28
David Crow31-Mar-06 3:28 
QuestionHandling the dilog resize by myself Pin
Emanuil ACHIM30-Mar-06 19:09
Emanuil ACHIM30-Mar-06 19:09 
AnswerRe: Handling the dilog resize by myself Pin
FarPointer30-Mar-06 19:26
FarPointer30-Mar-06 19:26 
GeneralRe: Handling the dilog resize by myself Pin
Emanuil ACHIM30-Mar-06 19:55
Emanuil ACHIM30-Mar-06 19:55 
Yes, the dialog should be resiable, but only during the click on the button. So the user clicks the button and with LBUTTONDOWN resizes the dialog as you do on the margine. When LBUTTONUP, then the dialog is on the final size and no more resizable (of course until the next click on button).
Code like:
LONG lSTYLE = GetWindowLong(m_hWnd, GWL_STYLE);
lSTYLE &= ~WS_THICKFRAME;
lSTYLE |= WS_THICKFRAME;
SetWindowLong(m_hWnd, GWL_STYLE, lSTYLE);
makes a nasty border, and after I reset the region with rounded corner the window do not invalidates the border regions.
I guess I must do something special (what ?) and send WM_SIZE by myself to the window. The button can be also a special region, e.g. where a bitmap is shown. Important: the window must be redrawn from another place than the window border.

THANKS,
Emanuil

-- modified at 1:58 Friday 31st March, 2006
Questionstring Array Pin
J512198230-Mar-06 18:53
J512198230-Mar-06 18:53 
AnswerRe: string Array Pin
Arvind Bharti30-Mar-06 19:30
Arvind Bharti30-Mar-06 19:30 
AnswerRe: string Array Pin
Rage30-Mar-06 19:50
professionalRage30-Mar-06 19:50 
AnswerRe: string Array Pin
Hamid_RT30-Mar-06 20:22
Hamid_RT30-Mar-06 20:22 
GeneralRe: string Array Pin
Arman S.30-Mar-06 20:33
Arman S.30-Mar-06 20:33 
GeneralRe: string Array Pin
Hamid_RT30-Mar-06 20:38
Hamid_RT30-Mar-06 20:38 
QuestionCreating child windows using mainframe pointer in an MDI application Pin
SanjaySMK30-Mar-06 18:52
SanjaySMK30-Mar-06 18:52 
AnswerRe: Creating child windows using mainframe pointer in an MDI application Pin
Nibu babu thomas30-Mar-06 19:16
Nibu babu thomas30-Mar-06 19:16 
Questioninterview questions Pin
yang__lee30-Mar-06 17:42
yang__lee30-Mar-06 17:42 
AnswerRe: interview questions Pin
Nick_Kisialiou31-Mar-06 10:19
Nick_Kisialiou31-Mar-06 10:19 
GeneralRe: interview questions Pin
lastgen1-Apr-06 13:28
lastgen1-Apr-06 13:28 
Questionhow to have palette of icons and pulling palette through the icons Pin
yang__lee30-Mar-06 17:39
yang__lee30-Mar-06 17:39 
AnswerRe: how to have palette of icons and pulling palette through the icons Pin
Rage30-Mar-06 19:51
professionalRage30-Mar-06 19:51 
GeneralRe: how to have palette of icons and pulling palette through the icons Pin
yang__lee30-Mar-06 22:06
yang__lee30-Mar-06 22:06 
QuestionProblem in MDI main window Background display Pin
Sarvan AL30-Mar-06 17:23
Sarvan AL30-Mar-06 17:23 
AnswerRe: Problem in MDI main window Background display Pin
Nibu babu thomas30-Mar-06 17:41
Nibu babu thomas30-Mar-06 17:41 
GeneralRe: Problem in MDI main window Background display Pin
Sarvan AL30-Mar-06 18:38
Sarvan AL30-Mar-06 18:38 

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.