Click here to Skip to main content
15,925,602 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: POST string to .asp Pin
ThatsAlok9-Jun-05 1:05
ThatsAlok9-Jun-05 1:05 
GeneralRe: POST string to .asp Pin
dex_ter119-Jun-05 15:16
dex_ter119-Jun-05 15:16 
GeneralRe: POST string to .asp Pin
ThatsAlok9-Jun-05 18:21
ThatsAlok9-Jun-05 18:21 
GeneralLNK2001 Error Using Edit Control Variable in static function Pin
CNewbie8-Jun-05 23:03
CNewbie8-Jun-05 23:03 
GeneralRe: LNK2001 Error Using Edit Control Variable in static function Pin
GDavy8-Jun-05 23:19
GDavy8-Jun-05 23:19 
GeneralRe: LNK2001 Error Using Edit Control Variable in static function Pin
Bob Stanneveld9-Jun-05 0:03
Bob Stanneveld9-Jun-05 0:03 
GeneralRe: LNK2001 Error Using Edit Control Variable in static function Pin
CNewbie9-Jun-05 0:45
CNewbie9-Jun-05 0:45 
GeneralRe: LNK2001 Error Using Edit Control Variable in static function Pin
Bob Stanneveld9-Jun-05 1:12
Bob Stanneveld9-Jun-05 1:12 
CNewbie wrote:
m_string.Format("%d",getstring[1]); // Format m_string with a decimal Number<br />
static UpdateData(FALSE); // Send New string to Edit Box<br />
m_sigstr.SetPos( getstring[1] ); // Set Position of Progress Bar according to getstring value


Consider that code fragment. I thought about the following things the moment I say it:
<list>
  • What is that static word doing there?
  • Why do you call UpdateData(FALSE); in the middle of your updating process?
    If you look up the UpdateData() function in MSDN, you see that this calls DoDataExchange() which synchronizes the data of all the controls on your dialog. Knowing this, you should move the call to UpdataData(FALSE) down the bottom of the function. After this, all the changes will be made visible.

    Hope this helps Big Grin | :-D

    Behind every great black man...
                ... is the police. - Conspiracy brother


    Blog[^]

  • GeneralRe: LNK2001 Error Using Edit Control Variable in static function Pin
    CNewbie9-Jun-05 1:19
    CNewbie9-Jun-05 1:19 
    GeneralRe: LNK2001 Error Using Edit Control Variable in static function Pin
    Bob Stanneveld9-Jun-05 1:29
    Bob Stanneveld9-Jun-05 1:29 
    GeneralRe: LNK2001 Error Using Edit Control Variable in static function Pin
    CNewbie9-Jun-05 1:23
    CNewbie9-Jun-05 1:23 
    GeneralRe: LNK2001 Error Using Edit Control Variable in static function Pin
    Bob Stanneveld9-Jun-05 1:30
    Bob Stanneveld9-Jun-05 1:30 
    GeneralRe: LNK2001 Error Using Edit Control Variable in static function Pin
    David Crow9-Jun-05 2:29
    David Crow9-Jun-05 2:29 
    GeneralRe: LNK2001 Error Using Edit Control Variable in static function Pin
    CNewbie9-Jun-05 5:09
    CNewbie9-Jun-05 5:09 
    GeneralRe: LNK2001 Error Using Edit Control Variable in static function Pin
    David Crow9-Jun-05 5:16
    David Crow9-Jun-05 5:16 
    GeneralModeless dialogs and Edit Boxes Pin
    Kiriko8-Jun-05 22:05
    Kiriko8-Jun-05 22:05 
    GeneralRe: Modeless dialogs and Edit Boxes Pin
    GDavy8-Jun-05 22:53
    GDavy8-Jun-05 22:53 
    GeneralRe: Modeless dialogs and Edit Boxes Pin
    Kiriko9-Jun-05 0:28
    Kiriko9-Jun-05 0:28 
    GeneralRe: Modeless dialogs and Edit Boxes Pin
    David Crow9-Jun-05 2:32
    David Crow9-Jun-05 2:32 
    GeneralRe: Modeless dialogs and Edit Boxes Pin
    Kiriko9-Jun-05 6:19
    Kiriko9-Jun-05 6:19 
    GeneralRe: Modeless dialogs and Edit Boxes Pin
    David Crow10-Jun-05 5:59
    David Crow10-Jun-05 5:59 
    Generalpointer to member function.Error Pin
    ascom28-Jun-05 21:57
    ascom28-Jun-05 21:57 
    GeneralRe: pointer to member function.Error Pin
    GDavy8-Jun-05 22:58
    GDavy8-Jun-05 22:58 
    GeneralRe: pointer to member function.Error Pin
    ascom29-Jun-05 0:20
    ascom29-Jun-05 0:20 
    GeneralCRichEdit::ReplaceSel() strange behavior Pin
    Salvador Dali8-Jun-05 20:48
    Salvador Dali8-Jun-05 20:48 

    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.