Click here to Skip to main content
15,921,382 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to add maximize and minimize buttons in a Property Sheet Pin
Member 362606022-Mar-07 23:26
Member 362606022-Mar-07 23:26 
AnswerRe: How to add maximize and minimize buttons in a Property Sheet Pin
toxcct22-Mar-07 23:39
toxcct22-Mar-07 23:39 
GeneralRe: How to add maximize and minimize buttons in a Property Sheet Pin
Rajesh R Subramanian22-Mar-07 23:42
professionalRajesh R Subramanian22-Mar-07 23:42 
GeneralRe: How to add maximize and minimize buttons in a Property Sheet Pin
vijay_aroli22-Mar-07 23:50
vijay_aroli22-Mar-07 23:50 
GeneralRe: How to add maximize and minimize buttons in a Property Sheet Pin
toxcct22-Mar-07 23:51
toxcct22-Mar-07 23:51 
GeneralRe: How to add maximize and minimize buttons in a Property Sheet Pin
vijay_aroli23-Mar-07 0:09
vijay_aroli23-Mar-07 0:09 
AnswerRe: How to add maximize and minimize buttons in a Property Sheet Pin
prasad_som23-Mar-07 0:19
prasad_som23-Mar-07 0:19 
QuestionCListBox subclassing Pin
Johan Pretorius22-Mar-07 21:57
Johan Pretorius22-Mar-07 21:57 
I cant get the damn list box to change the ownerdraw property when i subclass it.
Part of the code :
    CWnd * wnd = NULL;
    while (wnd = FindWindowEx(this->m_hWnd,(wnd == NULL ? NULL : wnd->m_hWnd),"ListBox",NULL))
    {
        MyListBox * temp = new MyListBox();
        temp->SubclassWindow(wnd->m_hWnd);
        temp->ModifyStyle(0,LBS_OWNERDRAWFIXED);
        TempControlAdd((CWnd*)temp); //for cleanup later
        temp = NULL;
    }
Thanks for the Help.










Artificial Intelligence is no match for Natural Stupidity

No one can understand the truth until he drinks of coffee's frothy goodness. ~Sheik Abd-al-Kadir

I can't always be wrong ... or can I?


AnswerRe: CListBox subclassing Pin
Optimus Chaos22-Mar-07 22:05
Optimus Chaos22-Mar-07 22:05 
GeneralRe: CListBox subclassing Pin
Johan Pretorius22-Mar-07 22:08
Johan Pretorius22-Mar-07 22:08 
AnswerFound another way Pin
Johan Pretorius22-Mar-07 23:05
Johan Pretorius22-Mar-07 23:05 
QuestionAbout CWnd Error Pin
siddharthsan22-Mar-07 20:30
siddharthsan22-Mar-07 20:30 
AnswerRe: About CWnd Error Pin
prasad_som22-Mar-07 20:37
prasad_som22-Mar-07 20:37 
GeneralRe: About CWnd Error Pin
siddharthsan22-Mar-07 20:41
siddharthsan22-Mar-07 20:41 
AnswerRe: About CWnd Error Pin
prasad_som22-Mar-07 20:42
prasad_som22-Mar-07 20:42 
GeneralRe: About CWnd Error Pin
siddharthsan22-Mar-07 20:51
siddharthsan22-Mar-07 20:51 
AnswerRe: About CWnd Error Pin
Mark Salsbery23-Mar-07 8:28
Mark Salsbery23-Mar-07 8:28 
Questionwhy error occure when use CDialogTemplate Class? Pin
Atul2322-Mar-07 20:12
Atul2322-Mar-07 20:12 
AnswerRe: why error occure when use CDialogTemplate Class? Pin
prasad_som22-Mar-07 20:29
prasad_som22-Mar-07 20:29 
AnswerRe: why error occure when use CDialogTemplate Class? Pin
John R. Shaw22-Mar-07 20:37
John R. Shaw22-Mar-07 20:37 
QuestionShorcutkey problem Pin
rushiraj.jhala22-Mar-07 20:08
rushiraj.jhala22-Mar-07 20:08 
QuestionRe: Shorcutkey problem Pin
prasad_som22-Mar-07 20:16
prasad_som22-Mar-07 20:16 
AnswerRe: Shorcutkey problem Pin
rushiraj.jhala22-Mar-07 20:36
rushiraj.jhala22-Mar-07 20:36 
GeneralRe: Shorcutkey problem [modified] Pin
Parthi_Appu22-Mar-07 20:52
Parthi_Appu22-Mar-07 20:52 
GeneralRe: Shorcutkey problem Pin
rushiraj.jhala22-Mar-07 21:31
rushiraj.jhala22-Mar-07 21: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.