Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Another (different) SendMessage question. Pin
Tomasz Sowinski24-Sep-02 7:17
Tomasz Sowinski24-Sep-02 7:17 
GeneralRe: Another (different) SendMessage question. Pin
ns24-Sep-02 7:24
ns24-Sep-02 7:24 
GeneralRe: Another (different) SendMessage question. Pin
Tomasz Sowinski24-Sep-02 8:08
Tomasz Sowinski24-Sep-02 8:08 
GeneralRe: Another (different) SendMessage question. Pin
ns24-Sep-02 8:16
ns24-Sep-02 8:16 
GeneralRe: Another (different) SendMessage question. Pin
Tomasz Sowinski24-Sep-02 8:27
Tomasz Sowinski24-Sep-02 8:27 
GeneralRe: Another (different) SendMessage question. Pin
ns24-Sep-02 8:47
ns24-Sep-02 8:47 
GeneralRe: Another (different) SendMessage question. Pin
Tomasz Sowinski24-Sep-02 9:05
Tomasz Sowinski24-Sep-02 9:05 
GeneralRe: Another (different) SendMessage question. Pin
ns24-Sep-02 9:20
ns24-Sep-02 9:20 
THe CWAitDialog wil be created on the VC side. the user presses a menu item: MAke DAtabase
THe handler creates a CWait object. All I get from the dll is the loop counter. IT does no UI generation. Unless I'm misunderstanding, if I can get my sendmessage to work, I think (optimist!) that CWait will work. Brcause then I can do stuff like:
void OnButtonREceivingMessage
{
FunctionCalledInButtonHandler;
}

void FunctionCalledInButtonHandler() each time the message is sent
{
 BOOL bContinue = TRUE;
 CWaitDialog dlg (&bContinue);
         globalCounter +=1;
         int nPercent = globalCounter something;//oops I dont know the total number of records the database will loop through, in the VC app. I know it in the VB dll. So if the VB dll somehow transferred that info to the VC client, then I could calculate the percentage..
        
         dlg.SetPercentComplete (nPercent);
         dlg.Pump ();
     }
 }


Does that make sense?

Thanks,
ns
GeneralRe: Another (different) SendMessage question. Pin
Tomasz Sowinski24-Sep-02 9:28
Tomasz Sowinski24-Sep-02 9:28 
GeneralRe: Another (different) SendMessage question. Pin
ns24-Sep-02 9:36
ns24-Sep-02 9:36 
GeneralRe: Another (different) SendMessage question. Pin
ns24-Sep-02 9:23
ns24-Sep-02 9:23 
GeneralRe: Another (different) SendMessage question. Pin
ns24-Sep-02 8:20
ns24-Sep-02 8:20 
GeneralRe: Another (different) SendMessage question. Pin
Tomasz Sowinski24-Sep-02 8:31
Tomasz Sowinski24-Sep-02 8:31 
GeneralRe: Another (different) SendMessage question. Pin
ns24-Sep-02 8:50
ns24-Sep-02 8:50 
GeneralThanks! It finally works! Pin
ns25-Sep-02 2:47
ns25-Sep-02 2:47 
GeneralRe: Thanks! It finally works! Pin
Ravi Bhavnani25-Sep-02 10:49
professionalRavi Bhavnani25-Sep-02 10:49 
Generalgeneral question on progressbars Pin
ns24-Sep-02 6:56
ns24-Sep-02 6:56 
GeneralRe: general question on progressbars Pin
Tomasz Sowinski24-Sep-02 7:02
Tomasz Sowinski24-Sep-02 7:02 
GeneralRe: general question on progressbars Pin
ns24-Sep-02 7:17
ns24-Sep-02 7:17 
GeneralRe: general question on progressbars Pin
Ravi Bhavnani24-Sep-02 9:11
professionalRavi Bhavnani24-Sep-02 9:11 
Generaldigression Pin
ns25-Sep-02 4:32
ns25-Sep-02 4:32 
GeneralRe: digression Pin
Ravi Bhavnani25-Sep-02 4:41
professionalRavi Bhavnani25-Sep-02 4:41 
GeneralRe: digression Pin
ns25-Sep-02 4:49
ns25-Sep-02 4:49 
GeneralRe: digression Pin
Ravi Bhavnani25-Sep-02 10:46
professionalRavi Bhavnani25-Sep-02 10:46 
GeneralRe: digression Pin
ns25-Sep-02 10:59
ns25-Sep-02 10:59 

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.