Click here to Skip to main content
15,886,799 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAnd Learn this! ^.^ Pin
IsaacLitingjun29-Dec-04 20:47
IsaacLitingjun29-Dec-04 20:47 
GeneralThanks a billion !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
IsaacLitingjun30-Dec-04 18:35
IsaacLitingjun30-Dec-04 18:35 
GeneralThank you Thank you! ^.^ Pin
IsaacLitingjun30-Dec-04 18:40
IsaacLitingjun30-Dec-04 18:40 
GeneralSth. wrong with thread Pin
IsaacLitingjun6-Jan-05 16:27
IsaacLitingjun6-Jan-05 16:27 
GeneralRe: Sth. wrong with thread Pin
Rahim Rattani6-Jan-05 17:10
Rahim Rattani6-Jan-05 17:10 
GeneralRe: Sth. wrong with thread Pin
IsaacLitingjun6-Jan-05 18:41
IsaacLitingjun6-Jan-05 18:41 
GeneralRe: Sth. wrong with thread Pin
Rahim Rattani6-Jan-05 18:50
Rahim Rattani6-Jan-05 18:50 
GeneralI'm really so lucky!! Pin
IsaacLitingjun6-Jan-05 19:13
IsaacLitingjun6-Jan-05 19:13 
Thxs! a million,Rahim. You're so kind! so i'd love to ask you another question, your solutions are always Great!!

Rahim Rattani wrote:
before initiating the thread

i think maybe there will be some diffiulties,we initialize the thread in view class. but that's ok, i think now we can use the control using your getitem method, so coooooooool! Laugh | :laugh:

now i got another question,wish you can take a look:

i want to use message method, but i don't have a very clear idea about how to use it. here is the circumstance:

there is a process running in my CvcydcjView:

<br />
int CvcydcjView::ReadRecord()<br />
{<br />
OpenDatabase();<br />
CopytoMemory();<br />
//when i finish this process, i want to sendmessage to the thread now it can start<br />
SendMessages();<br />
}<br />


<br />
DWORD WINAPI CallOut(LPVOID lp);<br />
{<br />
if(ReceiveMessageFromReadRecord)<br />
    DoSomething();<br />
else<br />
    Wait();<br />
}<br />



i don't know how to write the code, if you can help, that will be very Great!!!!!!!! Thanks in advance!!!!!!!!!!!

Best Wishes,


- - - - - - - - - - - - - - - - - - - - - - - - - -
Many nights we prayed with no proof anyone could hear, we were moving moutains long before we knew we could !
Yet now i'm standing here, although we know there's much to fear, hope seems like summer bird too swiftly flown away ...

There can be miracles! When you believe, though hope is frail, it's hard to kill !
Who knows what miracles, you can achieve! When you believe, somehow you will ...

YOU WILL WHEN YOU BELIEVE

GeneralProblem solved, thx! Pin
IsaacLitingjun8-Jan-05 16:05
IsaacLitingjun8-Jan-05 16:05 
GeneralUsing this can solve that problem Pin
IsaacLitingjun6-Jan-05 18:50
IsaacLitingjun6-Jan-05 18:50 
GeneralRe: A question about GetDlgItem Pin
V.29-Dec-04 21:07
professionalV.29-Dec-04 21:07 
GeneralRe: A question about GetDlgItem Pin
Joseph M. Newcomer31-Dec-04 5:49
Joseph M. Newcomer31-Dec-04 5:49 
Generalpostmessage in a callback function Pin
Marcus Spitzmiller29-Dec-04 15:41
Marcus Spitzmiller29-Dec-04 15:41 
GeneralRe: postmessage in a callback function Pin
Neville Franks30-Dec-04 1:32
Neville Franks30-Dec-04 1:32 
GeneralRe: postmessage in a callback function Pin
Marcus Spitzmiller30-Dec-04 5:02
Marcus Spitzmiller30-Dec-04 5:02 
GeneralRe: postmessage in a callback function Pin
Neville Franks30-Dec-04 8:41
Neville Franks30-Dec-04 8:41 
GeneralRe: postmessage in a callback function Pin
Marcus Spitzmiller30-Dec-04 9:17
Marcus Spitzmiller30-Dec-04 9:17 
GeneralRe: postmessage in a callback function Pin
Neville Franks30-Dec-04 9:21
Neville Franks30-Dec-04 9:21 
GeneralPainting Node Pin
Adrian Soon29-Dec-04 15:27
Adrian Soon29-Dec-04 15:27 
GeneralRe: Painting Node Pin
PJ Arends29-Dec-04 22:59
professionalPJ Arends29-Dec-04 22:59 
GeneralRe: Painting Node Pin
Adrian Soon31-Dec-04 4:20
Adrian Soon31-Dec-04 4:20 
GeneralTraceroute Pin
hafiziziziz29-Dec-04 15:05
hafiziziziz29-Dec-04 15:05 
Generalwinsock send hooking(no ddk allowed) Pin
Spiritofamerica29-Dec-04 8:53
Spiritofamerica29-Dec-04 8:53 
GeneralRe: winsock send hooking(no ddk allowed) Pin
ThatsAlok30-Dec-04 22:28
ThatsAlok30-Dec-04 22:28 
QuestionQuestion about time stamp info stored in the file? Pin
Kuang Cao29-Dec-04 8:50
Kuang Cao29-Dec-04 8:50 

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.