Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHeader File #ifndef Pin
vibindia2-Mar-07 4:14
vibindia2-Mar-07 4:14 
AnswerRe: Header File #ifndef Pin
Cedric Moonen2-Mar-07 4:18
Cedric Moonen2-Mar-07 4:18 
GeneralRe: Thanks Pin
vibindia2-Mar-07 4:23
vibindia2-Mar-07 4:23 
QuestionShow Bitmap handle in Picture Control Pin
priyank_ldce2-Mar-07 3:03
priyank_ldce2-Mar-07 3:03 
AnswerRe: Show Bitmap handle in Picture Control Pin
Hamid_RT2-Mar-07 6:21
Hamid_RT2-Mar-07 6:21 
AnswerRe: Show Bitmap handle in Picture Control Pin
prasad_som2-Mar-07 17:54
prasad_som2-Mar-07 17:54 
QuestionResizing a borderless CMainFrame Pin
_Stilgar_2-Mar-07 2:39
_Stilgar_2-Mar-07 2:39 
AnswerRe: Resizing a borderless CMainFrame Pin
kanduripavan6-Mar-07 19:58
kanduripavan6-Mar-07 19:58 
hi,
I tried to work with your problem. The way is that you have to catch the events
in Pretranslate of the mainframe with the following handle "m_hWndMDIClient" and provide
custom dragging. The hit test must be perfomed by a separate function created by us which
will return the flags returned by OnNcHitTest if needed. I had caught the events only with
this handle only. Try it u will get sucess.
BOOL CMainFrame::PreTranslateMessage(MSG* pMsg)
{
if (pMsg->hwnd ==m_hWndMDIClient )
{
//Add your code here for the Messages
}

return CMDIFrameWnd::PreTranslateMessage(pMsg);
}

Thank you,
A beginner

A beginner
GeneralRe: Resizing a borderless CMainFrame Pin
_Stilgar_7-Mar-07 10:49
_Stilgar_7-Mar-07 10:49 
QuestionHow to handle changes to a Slider bar by Keyboard Pin
reza matinnejad2-Mar-07 2:20
reza matinnejad2-Mar-07 2:20 
QuestionRe: How to handle changes to a Slider bar by Keyboard Pin
David Crow2-Mar-07 2:39
David Crow2-Mar-07 2:39 
AnswerRe: How to handle changes to a Slider bar by Keyboard Pin
reza matinnejad2-Mar-07 2:46
reza matinnejad2-Mar-07 2:46 
QuestionRe: How to handle changes to a Slider bar by Keyboard Pin
David Crow2-Mar-07 2:55
David Crow2-Mar-07 2:55 
AnswerRe: How to handle changes to a Slider bar by Keyboard Pin
reza matinnejad2-Mar-07 3:06
reza matinnejad2-Mar-07 3:06 
GeneralPlease Some Body HELP!!!!!!!!! Pin
reza matinnejad2-Mar-07 4:20
reza matinnejad2-Mar-07 4:20 
QuestionRe: How to handle changes to a Slider bar by Keyboard Pin
David Crow2-Mar-07 4:24
David Crow2-Mar-07 4:24 
AnswerRe: How to handle changes to a Slider bar by Keyboard Pin
reza matinnejad2-Mar-07 4:55
reza matinnejad2-Mar-07 4:55 
AnswerRe: How to handle changes to a Slider bar by Keyboard Pin
Iain Clarke, Warrior Programmer2-Mar-07 5:46
Iain Clarke, Warrior Programmer2-Mar-07 5:46 
QuestionHow to set display resolution Pin
reza matinnejad2-Mar-07 1:27
reza matinnejad2-Mar-07 1:27 
AnswerRe: How to set display resolution Pin
prasad_som2-Mar-07 2:02
prasad_som2-Mar-07 2:02 
AnswerRe: How to set display resolution Pin
vibindia2-Mar-07 4:18
vibindia2-Mar-07 4:18 
Questionconst keyword Pin
Syamlal S Nair2-Mar-07 0:54
Syamlal S Nair2-Mar-07 0:54 
AnswerRe: const keyword Pin
Nibu babu thomas2-Mar-07 0:57
Nibu babu thomas2-Mar-07 0:57 
GeneralRe: const keyword Pin
Syamlal S Nair2-Mar-07 1:01
Syamlal S Nair2-Mar-07 1:01 
GeneralRe: const keyword Pin
Dominik Reichl2-Mar-07 1:09
Dominik Reichl2-Mar-07 1:09 

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.