Click here to Skip to main content
16,017,899 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: IDE Pin
toxcct31-May-07 2:14
toxcct31-May-07 2:14 
GeneralRe: IDE Pin
tom groezer31-May-07 2:31
tom groezer31-May-07 2:31 
GeneralRe: IDE Pin
toxcct31-May-07 2:34
toxcct31-May-07 2:34 
AnswerRe: IDE Pin
jhwurmbach31-May-07 2:42
jhwurmbach31-May-07 2:42 
QuestionTrackPopupMenu Pin
tom groezer31-May-07 1:45
tom groezer31-May-07 1:45 
AnswerRe: TrackPopupMenu Pin
Ravi Bhavnani31-May-07 2:13
professionalRavi Bhavnani31-May-07 2:13 
AnswerRe: TrackPopupMenu Pin
sps-itsec4631-May-07 2:18
sps-itsec4631-May-07 2:18 
QuestionChange view of MDIFrame Pin
baerten31-May-07 1:29
baerten31-May-07 1:29 
Hi everybody,

i already wrote a function which changes the view of a MDIFrame ( hide old view, show new view )
SetActiveView(New_View);

i add even a New_View->SetDlgCtrlID(AFX_IDW_PANE_FIRST);
and ::SetWindowLong(New_View->m_hWnd,GWL_ID,AFX_IDW_PANE_FIRST);

It works nearby perfect. Only if i minimize the frame.
The new view gets the OnSize-Message and the old view too ( 2 times)

So i've an effect of non-drawing on the new view.

I put a "if(isHidden) return;" in the OnSize-Handler of the old view ( isHidden is setted to TRUE during the view-changing ) which don't resolve the problem Frown | :(

Big thanks for help Smile | :)


QuestionParallel Port Pin
jswarts31-May-07 1:22
jswarts31-May-07 1:22 
AnswerRe: Parallel Port Pin
Johpoke31-May-07 1:52
Johpoke31-May-07 1:52 
QuestionFont size Pin
garfield18531-May-07 0:35
garfield18531-May-07 0:35 
AnswerRe: Font size Pin
CPallini31-May-07 0:47
mveCPallini31-May-07 0:47 
GeneralRe: Font size Pin
garfield18531-May-07 0:51
garfield18531-May-07 0:51 
GeneralRe: Font size Pin
Hamid_RT31-May-07 1:32
Hamid_RT31-May-07 1:32 
GeneralRe: Font size Pin
garfield18531-May-07 1:36
garfield18531-May-07 1:36 
GeneralRe: Font size Pin
CPallini31-May-07 1:49
mveCPallini31-May-07 1:49 
GeneralRe: Font size Pin
CPallini31-May-07 1:43
mveCPallini31-May-07 1:43 
GeneralRe: Font size Pin
garfield18531-May-07 3:22
garfield18531-May-07 3:22 
GeneralRe: Font size Pin
CPallini31-May-07 3:43
mveCPallini31-May-07 3:43 
GeneralRe: Font size Pin
garfield18531-May-07 4:00
garfield18531-May-07 4:00 
GeneralRe: Font size Pin
CPallini31-May-07 5:11
mveCPallini31-May-07 5:11 
GeneralRe: Font size Pin
garfield18531-May-07 5:25
garfield18531-May-07 5:25 
GeneralRe: Font size Pin
David Crow31-May-07 4:12
David Crow31-May-07 4:12 
GeneralRe: Font size Pin
garfield18531-May-07 4:31
garfield18531-May-07 4:31 
QuestionCreating .h files using MATLAB Pin
Purushottama31-May-07 0:31
Purushottama31-May-07 0:31 

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.