Click here to Skip to main content
15,910,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionscroll bar in tab control Pin
sireesha_sree2-Apr-07 18:20
sireesha_sree2-Apr-07 18:20 
QuestionRe: scroll bar in tab control Pin
vimarsh puneet2-Apr-07 21:04
vimarsh puneet2-Apr-07 21:04 
AnswerRe: scroll bar in tab control Pin
sireesha_sree3-Apr-07 4:32
sireesha_sree3-Apr-07 4:32 
Questionscroll bar in tab control Pin
sireesha_sree2-Apr-07 18:16
sireesha_sree2-Apr-07 18:16 
QuestionSDK in VS2005 Pin
N a v a n e e t h2-Apr-07 17:39
N a v a n e e t h2-Apr-07 17:39 
AnswerRe: SDK in VS2005 Pin
Michael Dunn2-Apr-07 19:48
sitebuilderMichael Dunn2-Apr-07 19:48 
QuestionHelp me with an article - HTTP Tunneling Pin
jbog912-Apr-07 16:00
jbog912-Apr-07 16:00 
QuestionHow to suppress unwanted MDI behaviour Pin
AWSC2-Apr-07 15:10
AWSC2-Apr-07 15:10 
I have an MDI Document/View App which (simplified) has 1 MyDocument class and 2 view classes. MyScrollView (derived from CScrollView) and MyFormView (derived from CFormView. Usually MyScrollView will be Maximized and occasionally MyFormView will be activated.

MyFormFrame (from CMDIChildWnd) is used to contain MyFormView and overrides PreCreateWindow to remove WS_MAXIMIZEBOX from the window style. MyFormFrame also implements OnCreate and OnGetMinMaxInfo in order to restrict the MyFormFrame to the exact fit for the MyFormView dialog resource.

With these preconditions (MyScrollView maximized and MyFormView maximize box disabled), when MyFormView is activated, MyScrollView is restored to its original non-maximized state (this is unwanted behaviour).

If I don't remove WS_MAXIMIZEBOX (from MyFormFrame) then MyFormView is activated with no caption at the top left of the MDICLIENT (and thus can't be draged).

Does anyone know if/how I can acheive the desired behaviour (MyFormView activated with caption on top of maximized MyScrollView)?Confused | :confused:

Many thanks
John
QuestionHow to get notification for check box in CTreeCtrl ? Pin
Yanshof2-Apr-07 14:42
Yanshof2-Apr-07 14:42 
AnswerRe: How to get notification for check box in CTreeCtrl ? Pin
Hamid_RT2-Apr-07 18:48
Hamid_RT2-Apr-07 18:48 
AnswerRe: How to get notification for check box in CTreeCtrl ? Pin
prasad_som2-Apr-07 19:07
prasad_som2-Apr-07 19:07 
QuestionHow to drag a bitmap?? Pin
hcygxr20082-Apr-07 12:33
hcygxr20082-Apr-07 12:33 
AnswerRe: How to drag a bitmap?? Pin
Mark Salsbery2-Apr-07 13:24
Mark Salsbery2-Apr-07 13:24 
GeneralRe: How to drag a bitmap?? Pin
hcygxr20084-Apr-07 19:15
hcygxr20084-Apr-07 19:15 
QuestionIn Line If Statement Pin
ScotDolan2-Apr-07 12:17
ScotDolan2-Apr-07 12:17 
AnswerRe: In Line If Statement Pin
PJ Arends2-Apr-07 13:24
professionalPJ Arends2-Apr-07 13:24 
QuestionDynamically linked dll, default parameter possible? Pin
CodeHead2-Apr-07 8:00
CodeHead2-Apr-07 8:00 
AnswerRe: Dynamically linked dll, default parameter possible? Pin
AWSC2-Apr-07 15:38
AWSC2-Apr-07 15:38 
GeneralRe: Dynamically linked dll, default parameter possible? Pin
CodeHead4-Apr-07 2:40
CodeHead4-Apr-07 2:40 
Questionhow to use an Array of a class? (modified) Pin
MohammadAmiry2-Apr-07 6:45
MohammadAmiry2-Apr-07 6:45 
AnswerRe: how to use an Array of a class? (modified) Pin
Mark Salsbery2-Apr-07 7:04
Mark Salsbery2-Apr-07 7:04 
GeneralRe: how to use an Array of a class? (modified) Pin
MohammadAmiry2-Apr-07 7:18
MohammadAmiry2-Apr-07 7:18 
AnswerRe: how to use an Array of a class? (modified) Pin
David Crow2-Apr-07 7:16
David Crow2-Apr-07 7:16 
GeneralRe: how to use an Array of a class? (modified) Pin
Mark Salsbery2-Apr-07 7:26
Mark Salsbery2-Apr-07 7:26 
GeneralRe: how to use an Array of a class? (modified) Pin
David Crow2-Apr-07 7:44
David Crow2-Apr-07 7:44 

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.