Click here to Skip to main content
15,912,082 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: In case of MFC Pin
Abin20-May-02 13:55
Abin20-May-02 13:55 
GeneralPaths get mixed together when using shell functions... Pin
redeemer20-May-02 9:02
redeemer20-May-02 9:02 
GeneralRe: Paths get mixed together when using shell functions... Pin
Alvaro Mendez20-May-02 9:50
Alvaro Mendez20-May-02 9:50 
GeneralRe: Paths get mixed together when using shell functions... Pin
redeemer20-May-02 10:12
redeemer20-May-02 10:12 
GeneralRe: Paths get mixed together when using shell functions... Pin
Alvaro Mendez20-May-02 10:55
Alvaro Mendez20-May-02 10:55 
GeneralRe: Paths get mixed together when using shell functions... Pin
redeemer20-May-02 11:11
redeemer20-May-02 11:11 
GeneralRe: Paths get mixed together when using shell functions... Pin
soptest20-May-02 11:43
soptest20-May-02 11:43 
GeneralThreads & CPropertySheet Pin
pmarki20-May-02 8:18
pmarki20-May-02 8:18 
Hello
I have problems with adding a property page in a new thread. The problem is CPropertyPage::AddPage() always produces debug assertion failure, when running from a thread.
it looks like this:

UINT SomeThread(LPVOID p)
{
...

CMyPropertyPage* newpage;

newpage=new CMyPropertyPage;

pdlg->m_PropertySheet.AddPage(newpage); //debug asertion failed
...
}

pdlg in this example was restored from the FromHandle function. I know that this error is caused by the fact that AddPage() is run in separate thread. Anyone knows how to do it properly ?
I will appreciate any suggestions... thanks
GeneralRe: Threads & CPropertySheet Pin
Bill Wilson20-May-02 8:23
Bill Wilson20-May-02 8:23 
GeneralRe: Threads & CPropertySheet Pin
pmarki20-May-02 8:46
pmarki20-May-02 8:46 
GeneralRe: Threads & CPropertySheet Pin
Prem Kumar20-May-02 9:16
Prem Kumar20-May-02 9:16 
Generalincluding img. into a project Pin
Fred D.20-May-02 8:24
Fred D.20-May-02 8:24 
GeneralRe: including img. into a project Pin
Chris Losinger20-May-02 8:24
professionalChris Losinger20-May-02 8:24 
GeneralWorker thread question Pin
RobJones20-May-02 8:23
RobJones20-May-02 8:23 
GeneralRe: Worker thread question Pin
Bill Wilson20-May-02 8:25
Bill Wilson20-May-02 8:25 
GeneralRe: Worker thread question Pin
Prem Kumar20-May-02 8:31
Prem Kumar20-May-02 8:31 
GeneralControl Colors Pin
Mike Doner20-May-02 8:08
Mike Doner20-May-02 8:08 
GeneralRe: Control Colors Pin
Shog920-May-02 13:38
sitebuilderShog920-May-02 13:38 
GeneralCan't get ios::binary mode to work Pin
JohnnyG20-May-02 7:36
JohnnyG20-May-02 7:36 
GeneralRe: Can't get ios::binary mode to work Pin
Joaquín M López Muñoz20-May-02 10:11
Joaquín M López Muñoz20-May-02 10:11 
GeneralRe: Can't get ios::binary mode to work Pin
JohnnyG20-May-02 11:09
JohnnyG20-May-02 11:09 
GeneralRe: Can't get ios::binary mode to work Pin
Chris Losinger20-May-02 11:18
professionalChris Losinger20-May-02 11:18 
GeneralRe: Can't get ios::binary mode to work Pin
Ernest Laurentin20-May-02 11:51
Ernest Laurentin20-May-02 11:51 
GeneralRe: Can't get ios::binary mode to work Pin
JohnnyG20-May-02 11:16
JohnnyG20-May-02 11:16 
GeneralHTML Dialog Pin
Sumudu Perera20-May-02 7:11
Sumudu Perera20-May-02 7:11 

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.