Click here to Skip to main content
15,903,012 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBitmap [modified] Pin
Vijayan.S17-Apr-07 23:49
Vijayan.S17-Apr-07 23:49 
AnswerRe: Bitmap Pin
Paresh Chitte18-Apr-07 0:15
Paresh Chitte18-Apr-07 0:15 
AnswerRe: Bitmap Pin
Hamid_RT18-Apr-07 1:30
Hamid_RT18-Apr-07 1:30 
QuestionManage Timer on MFC [modified] Pin
CDRAIN17-Apr-07 23:36
CDRAIN17-Apr-07 23:36 
AnswerRe: Manage Timer on MFC Pin
Roger Stoltz18-Apr-07 6:19
Roger Stoltz18-Apr-07 6:19 
GeneralRe: Manage Timer on MFC Pin
CDRAIN19-Apr-07 1:12
CDRAIN19-Apr-07 1:12 
QuestionRe: Manage Timer on MFC Pin
Roger Stoltz19-Apr-07 1:48
Roger Stoltz19-Apr-07 1:48 
AnswerRe: Manage Timer on MFC [modified] Pin
CDRAIN19-Apr-07 2:45
CDRAIN19-Apr-07 2:45 
Sorry, I want to say that I try your second solution...
I don't have access to the source code for the ActiveX, so I try the UI-Thread.

I try to explain my problem: on my thread I must fill a grid control (the ActiveX) and while this i need to refresh a progress bar.
This is the code I use:

Create the thread in which I'll fill the grid
C4ThrGrid * thread = (C4ThrGrid *)AfxBeginThread(RUNTIME_CLASS(C4ThrGrid));

Call the thread's function that fill the grid
thread->openGrid(&m_wndGrid,str,m_inUseSource);

Close the thread is it right
thread->PostThreadMessage(WM_QUIT, 0, 0);

Is it the right way to obtain what I need?

Why at runtime when I create the thread appear a message box that said "Insufficent Memory"

Help!!!!
GeneralRe: Manage Timer on MFC Pin
Roger Stoltz19-Apr-07 4:23
Roger Stoltz19-Apr-07 4:23 
GeneralRe: Manage Timer on MFC Pin
CDRAIN19-Apr-07 23:34
CDRAIN19-Apr-07 23:34 
GeneralRe: Manage Timer on MFC Pin
Roger Stoltz23-Apr-07 23:53
Roger Stoltz23-Apr-07 23:53 
QuestionHow you size your views? Pin
baerten17-Apr-07 23:11
baerten17-Apr-07 23:11 
AnswerRe: How you size your views? Pin
Mark Salsbery18-Apr-07 6:28
Mark Salsbery18-Apr-07 6:28 
GeneralRe: How you size your views? Pin
baerten18-Apr-07 21:26
baerten18-Apr-07 21:26 
GeneralRe: How you size your views? Pin
Mark Salsbery19-Apr-07 8:07
Mark Salsbery19-Apr-07 8:07 
GeneralRe: How you size your views? Pin
baerten19-Apr-07 23:10
baerten19-Apr-07 23:10 
GeneralRe: How you size your views? Pin
Mark Salsbery20-Apr-07 7:26
Mark Salsbery20-Apr-07 7:26 
Question_splitpath Issue Pin
Programm3r17-Apr-07 22:54
Programm3r17-Apr-07 22:54 
AnswerRe: _splitpath Issue Pin
Cedric Moonen17-Apr-07 23:21
Cedric Moonen17-Apr-07 23:21 
GeneralRe: _splitpath Issue Pin
Programm3r18-Apr-07 0:49
Programm3r18-Apr-07 0:49 
QuestionWhere to create font and set it to owner drawn menu Pin
Atul2317-Apr-07 22:48
Atul2317-Apr-07 22:48 
AnswerRe: Where to create font and set it to owner drawn menu Pin
Hamid_RT18-Apr-07 1:41
Hamid_RT18-Apr-07 1:41 
Questioncolor of a button Pin
p_17-Apr-07 22:20
p_17-Apr-07 22:20 
AnswerRe: color of a button Pin
Hamid_RT17-Apr-07 22:22
Hamid_RT17-Apr-07 22:22 
GeneralRe: color of a button Pin
p_17-Apr-07 22:34
p_17-Apr-07 22:34 

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.