Click here to Skip to main content
15,884,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Function does not return String as wanted Pin
markkuk25-Sep-09 7:05
markkuk25-Sep-09 7:05 
QuestionRe: Function does not return String as wanted Pin
David Crow25-Sep-09 7:51
David Crow25-Sep-09 7:51 
AnswerRe: Function does not return String as wanted Pin
Tomicmanka25-Sep-09 8:47
Tomicmanka25-Sep-09 8:47 
GeneralRe: Function does not return String as wanted Pin
David Crow25-Sep-09 8:57
David Crow25-Sep-09 8:57 
AnswerRe: Function does not return String as wanted Pin
Tomicmanka25-Sep-09 9:28
Tomicmanka25-Sep-09 9:28 
GeneralRe: Function does not return String as wanted Pin
Stuart Dootson26-Sep-09 0:07
professionalStuart Dootson26-Sep-09 0:07 
GeneralRe: Function does not return String as wanted Pin
Tomicmanka26-Sep-09 0:55
Tomicmanka26-Sep-09 0:55 
QuestionHiding and showing CSplitterWnd panes "mistery" Pin
Vaclav_25-Sep-09 6:07
Vaclav_25-Sep-09 6:07 
I have a simple static splitter with two panes.
I have managed to delete the right pane and having problem repainting it.
While developing I used the attached code for testing and discovered that ShowWindow(SW_HIDE) works after getting the access to parent window and then it does not work after the right pane is deleted and recreated.
That is one part of the puzzle.
The other part is that the new pane can only be repainted when the parent window is resized. Since MoveWindow does resizing too it also repaints the pane.
Seems like awkward way to accomplish repaint.
Any other opinions on the subject are as always appreciated.
Thanks for reading.

Here is the code snippet, Please IGNORE the goofy "-%gt;" characters!
I have given up fixing it!!!

   CSplitterWnd * pParent = ( CSplitterWnd * )GetParent();
     //pParent->ShowWindow(SW_HIDE); works here

    
     CC_TabView_Pane * pPane = (CC_TabView_Pane * ) pParent->GetPane(0,1);

    

     iCount = pPane->m_aPages.GetCount();
     if(!iCount)
     {
          {
               TRACEFN("\nNothing to delete in Tab %i m_aPages",iCount);
          }
          return iCount;
     }
    
     //pParent->MoveWindow(0,0,100,100);
     pParent->ShowWindow(SW_HIDE); and it does not work here
QuestionConstant Expression Required Pin
nowrocktheworld25-Sep-09 4:49
nowrocktheworld25-Sep-09 4:49 
AnswerRe: Constant Expression Required Pin
Naveen25-Sep-09 4:59
Naveen25-Sep-09 4:59 
GeneralRe: Constant Expression Required Pin
nowrocktheworld25-Sep-09 6:18
nowrocktheworld25-Sep-09 6:18 
AnswerRe: Constant Expression Required Pin
David Crow25-Sep-09 5:40
David Crow25-Sep-09 5:40 
AnswerRe: Constant Expression Required Pin
CPallini25-Sep-09 9:51
mveCPallini25-Sep-09 9:51 
AnswerRe: Constant Expression Required Pin
Iain Clarke, Warrior Programmer25-Sep-09 21:26
Iain Clarke, Warrior Programmer25-Sep-09 21:26 
QuestionSet/get Controls of an Another dialog box [modified] Pin
hrishiS25-Sep-09 4:32
hrishiS25-Sep-09 4:32 
AnswerRe: Set/get Controls of an Another dialog box Pin
David Crow25-Sep-09 5:44
David Crow25-Sep-09 5:44 
QuestionCAPI read certificat etoken Window xp Pin
Member 442420525-Sep-09 4:28
Member 442420525-Sep-09 4:28 
QuestionGetCursorPos failed in Service mode.... Pin
onlyjaypatel25-Sep-09 3:52
onlyjaypatel25-Sep-09 3:52 
AnswerRe: GetCursorPos failed in Service mode.... Pin
«_Superman_»25-Sep-09 16:41
professional«_Superman_»25-Sep-09 16:41 
Questiondoubt in cstring.. Pin
Rakesh525-Sep-09 3:40
Rakesh525-Sep-09 3:40 
QuestionRe: doubt in cstring.. Pin
David Crow25-Sep-09 3:47
David Crow25-Sep-09 3:47 
AnswerRe: doubt in cstring.. Pin
Rakesh525-Sep-09 3:53
Rakesh525-Sep-09 3:53 
AnswerRe: doubt in cstring.. Pin
David Crow25-Sep-09 3:56
David Crow25-Sep-09 3:56 
GeneralRe: doubt in cstring.. Pin
Rakesh525-Sep-09 4:04
Rakesh525-Sep-09 4:04 
QuestionRe: doubt in cstring.. Pin
David Crow25-Sep-09 4:14
David Crow25-Sep-09 4:14 

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.