Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ActiveX control repaint Pin
Roger Allen26-Nov-02 1:45
Roger Allen26-Nov-02 1:45 
GeneralRe: ActiveX control repaint Pin
billhao26-Nov-02 17:07
billhao26-Nov-02 17:07 
GeneralRe: ActiveX control repaint Pin
billhao28-Nov-02 21:47
billhao28-Nov-02 21:47 
GeneralDatabase problem in vc++(ODBC) Pin
MFC is the Best25-Nov-02 12:25
MFC is the Best25-Nov-02 12:25 
GeneralRe: Database problem in vc++(ODBC) Pin
dima_t25-Nov-02 17:19
dima_t25-Nov-02 17:19 
GeneralRe: Database problem in vc++(ODBC) Pin
MFC is the Best25-Nov-02 22:00
MFC is the Best25-Nov-02 22:00 
GeneralRe: Database problem in vc++(ODBC) Pin
dima_t26-Nov-02 0:57
dima_t26-Nov-02 0:57 
GeneralStatic library, Threads and Dialog boxes Pin
Clay25-Nov-02 11:17
Clay25-Nov-02 11:17 
I've created a project, mfc.exe type, that will link in several static libraries located in the same workspace. Each library will be a CWinthread derived class that could be the home for a dialog box and its controls. The controls I would like to update from any of the other threads.

I have been able to get a dialog box to appear from a thread class but have not been able to get a control to update like static text.

Here's kind of the flow:
main
{
afxbeginthread (lcd, ...)
lcd->startup
lcd->display(string)
...
}

lcd::startup
{
Startup dlg
dlg.DoModal
...
}

lcd::display(string)
{
dlg.display(string)
...
}

CStartup::display(string)
{
SetDlgItemText (IDC_TEXT1, string)
...
}

If you know of a link to a page with info about what I described or have a comment, it would be appreciated.

Thanks,
Clay
GeneralRe: Static library, Threads and Dialog boxes Pin
Joaquín M López Muñoz25-Nov-02 11:31
Joaquín M López Muñoz25-Nov-02 11:31 
GeneralRe: Static library, Threads and Dialog boxes Pin
Bijesh25-Nov-02 11:43
Bijesh25-Nov-02 11:43 
QuestionSimilar to CFileDialog ?? Pin
Still learning how to code25-Nov-02 11:02
Still learning how to code25-Nov-02 11:02 
AnswerRe: Similar to CFileDialog ?? [corrected] Pin
Joaquín M López Muñoz25-Nov-02 11:06
Joaquín M López Muñoz25-Nov-02 11:06 
GeneralRe: Similar to CFileDialog ?? [corrected] Pin
Still learning how to code25-Nov-02 23:24
Still learning how to code25-Nov-02 23:24 
GeneralSpy++ Log to File Question Pin
ursus zeta25-Nov-02 11:02
ursus zeta25-Nov-02 11:02 
GeneralRe: Spy++ Log to File Question Pin
Mike Nordell25-Nov-02 11:41
Mike Nordell25-Nov-02 11:41 
GeneralRe: Spy++ Log to File Question Pin
ursus zeta25-Nov-02 12:15
ursus zeta25-Nov-02 12:15 
Generalprojects and work spaces updates Pin
jimNLX25-Nov-02 9:40
jimNLX25-Nov-02 9:40 
GeneralRe: projects and work spaces updates Pin
Joaquín M López Muñoz25-Nov-02 9:46
Joaquín M López Muñoz25-Nov-02 9:46 
GeneralRe: projects and work spaces updates Pin
jimNLX25-Nov-02 11:11
jimNLX25-Nov-02 11:11 
GeneralRe: projects and work spaces updates Pin
Joaquín M López Muñoz25-Nov-02 11:13
Joaquín M López Muñoz25-Nov-02 11:13 
GeneralRe: projects and work spaces updates Pin
Anonymous26-Nov-02 3:12
Anonymous26-Nov-02 3:12 
GeneralCDC Font Pin
act_x25-Nov-02 8:52
act_x25-Nov-02 8:52 
GeneralRe: CDC Font Pin
Scott H. Settlemier25-Nov-02 9:03
Scott H. Settlemier25-Nov-02 9:03 
GeneralRe: CDC Font Pin
act_x25-Nov-02 9:11
act_x25-Nov-02 9:11 
GeneralRe: CDC Font Pin
Scott H. Settlemier25-Nov-02 9:14
Scott H. Settlemier25-Nov-02 9: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.