Click here to Skip to main content
15,899,935 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IPX programming. Posible in windows? Pin
Member 120896525-May-00 12:52
Member 120896525-May-00 12:52 
QuestionSplash screen on dialog-based? Pin
Member 1176625725-May-00 5:59
Member 1176625725-May-00 5:59 
AnswerRe: Splash screen on dialog-based? Pin
Andrebon25-May-00 15:21
Andrebon25-May-00 15:21 
GeneralDrawing from memoryDC to deviceDC using 256 colours only. Pin
David Bru25-May-00 5:15
David Bru25-May-00 5:15 
GeneralOn Top Pin
Member 434825-May-00 4:05
Member 434825-May-00 4:05 
GeneralRe: On Top Pin
Dmitriy25-May-00 9:30
Dmitriy25-May-00 9:30 
GeneralImplementation Magnetic effect to ControlBar Pin
Andrebon25-May-00 0:41
Andrebon25-May-00 0:41 
GeneralRe: Implementation Magnetic effect to ControlBar Pin
Cristi Posea26-May-00 19:12
Cristi Posea26-May-00 19:12 
I suppose you want to implement the "magnetic" effect for the floating bars, because the docked ones already snap to the dockbars.
Well, you guessed right - CMiniDockFrameWnd is the best place to do this. You can derive your own floating miniframe class from CMiniDockFrameWnd and register it by setting the CMainFrame's m_pFloatingFrameClass right after you call EnableDocking() for the main frame (usually in OnCreate()) :

int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
//...
EnableDocking(CBRS_ALIGN_ANY);
m_pFloatingFrameClass = RUNTIME_CLASS(CMyMiniDockFrameWnd);
//...
}

GeneralDos command from mfc app Pin
Tim Hodgson24-May-00 11:48
Tim Hodgson24-May-00 11:48 
GeneralRe: Dos command from mfc app Pin
imsniper24-May-00 21:06
imsniper24-May-00 21:06 
GeneralRe: Dos command from mfc app Pin
Tim Hodgson25-May-00 3:34
Tim Hodgson25-May-00 3:34 
GeneralRe: Dos command from mfc app Pin
Peter Zajac25-May-00 4:41
Peter Zajac25-May-00 4:41 
GeneralRe: Dos command from mfc app Pin
Tim Hodgson25-May-00 7:07
Tim Hodgson25-May-00 7:07 
GeneralRe: Dos command from mfc app Pin
Konstantin Vasserman25-May-00 12:15
Konstantin Vasserman25-May-00 12:15 
GeneralRe: Dos command from mfc app Pin
Tim Deveaux25-May-00 13:46
Tim Deveaux25-May-00 13:46 
GeneralRe: Dos command from mfc app Pin
Mike Dunn25-May-00 16:42
Mike Dunn25-May-00 16:42 
GeneralFrom Visual C++ to Borland C++ Pin
James Khan24-May-00 9:10
James Khan24-May-00 9:10 
GeneralRe: From Visual C++ to Borland C++ Pin
Tim Deveaux24-May-00 14:05
Tim Deveaux24-May-00 14:05 
GeneralBorland C++ sites like code tools Pin
James Khan24-May-00 9:04
James Khan24-May-00 9:04 
GeneralRe: Borland C++ sites like code tools Pin
Arvind2324-May-00 13:55
Arvind2324-May-00 13:55 
GeneralRe: Borland C++ sites like code tools Pin
Chris Maunder29-May-00 17:39
cofounderChris Maunder29-May-00 17:39 
GeneralViewing include file dependency tree Pin
Philip Winston24-May-00 8:58
Philip Winston24-May-00 8:58 
GeneralRe: Viewing include file dependency tree Pin
Tim Deveaux25-May-00 14:48
Tim Deveaux25-May-00 14:48 
GeneralRe: Viewing include file dependency tree Pin
Philip Winston26-May-00 5:25
Philip Winston26-May-00 5:25 
QuestionHow to create Web Search Assistant of IE 5.0? Pin
mahesh24-May-00 8:00
mahesh24-May-00 8:00 

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.