Click here to Skip to main content
15,916,426 members
Home / Discussions / Article Writing
   

Article Writing

 
Generalfinding an article Pin
anjudivakar22-Jan-05 4:23
anjudivakar22-Jan-05 4:23 
Questioncan someone point me in the right direction ? Pin
Anonymous21-Jan-05 21:03
Anonymous21-Jan-05 21:03 
AnswerRe: can someone point me in the right direction ? Pin
Daniel Turini12-Feb-05 5:52
Daniel Turini12-Feb-05 5:52 
GeneralSMS using C Pin
laltvm21-Jan-05 14:07
laltvm21-Jan-05 14:07 
GeneralRe: SMS using C Pin
DavidNohejl21-Jan-05 14:36
DavidNohejl21-Jan-05 14:36 
GeneralRe: SMS using C Pin
Anonymous22-Jan-05 11:08
Anonymous22-Jan-05 11:08 
GeneralRe: SMS using C Pin
Paolo Vernazza29-Jan-05 1:24
Paolo Vernazza29-Jan-05 1:24 
General[Q] SetWindowText on Edit Boxes... Pin
rbid20-Jan-05 22:33
rbid20-Jan-05 22:33 
Hello,

Setting the edit box text via SetWindowText does not work inmediatelly if you set it from one of the handlers of your dialog. Instead, the update will happen only after the handler ends its run.
void CDemoDlg::OnNewBnClicked()
{

    GetDlgItem(IDC_EDIT)->SetWindowText("New");
    
    <font color=#FF0000>// Some code that takes few msec to end</font>
}

If I replace the Edit Control with a static control, the text is updated inmediatelly.

I guess that the answer is the use of SendMessage and PostMessage.

Is there a way to update an edit control inmediatelly and not wait till the handler ends?

If you want to display for example the results when the user moves a slidebar, the edit control will not be updated until the cursor stops.

Any hint? (I need an edit control there Frown | :(

-- Ricky Marek (AKA: rbid)
-- "Things are only impossible until they are not" --- Jean-Luc Picard

My articles
GeneralRe: [Q] SetWindowText on Edit Boxes... Pin
BlackDice31-Jan-05 6:52
BlackDice31-Jan-05 6:52 
GeneralSMS engine Pin
ashu_sharma2119-Jan-05 20:43
ashu_sharma2119-Jan-05 20:43 
GeneralRe: SMS engine Pin
1Bob3-Jun-05 4:05
1Bob3-Jun-05 4:05 
Generaldifference between Transaction server , serialization and socket programming Pin
Rizwan Bashir19-Jan-05 1:13
Rizwan Bashir19-Jan-05 1:13 
GeneralFrom LINUX how to access a webservice that resides in windows os. Pin
SambasivaReddy19-Jan-05 0:50
SambasivaReddy19-Jan-05 0:50 
GeneralLCD Device Driver in Symbian Os Pin
deep_198118-Jan-05 18:35
deep_198118-Jan-05 18:35 
GeneralRead data from MS Word and Excel Pin
ajalilqarshi17-Jan-05 19:32
ajalilqarshi17-Jan-05 19:32 
Generalinstaller Pin
oxygen_fiend17-Jan-05 10:45
oxygen_fiend17-Jan-05 10:45 
QuestionHow to implement a diagonal grid control? Pin
rbid15-Jan-05 6:19
rbid15-Jan-05 6:19 
AnswerRe: How to implement a diagonal grid control? Pin
basementman20-Jan-05 7:14
basementman20-Jan-05 7:14 
Generalhelp on openwith dialog Pin
deepakskumar12-Jan-05 21:23
deepakskumar12-Jan-05 21:23 
GeneralText to formatted images Pin
Gooney7-Jan-05 6:20
Gooney7-Jan-05 6:20 
GeneralRe: Text to formatted images Pin
basementman11-Jan-05 9:32
basementman11-Jan-05 9:32 
GeneralHelp for RationalXDE Pin
amalatsliit5-Jan-05 15:22
amalatsliit5-Jan-05 15:22 
GeneralGetting day of a Month in VB Pin
madhuys5-Jan-05 3:23
madhuys5-Jan-05 3:23 
GeneralRe: Getting day of a Month in VB Pin
S Douglas12-Jan-05 23:09
professionalS Douglas12-Jan-05 23:09 
GeneralMDI Database App w/VC Pin
S Douglas3-Jan-05 23:41
professionalS Douglas3-Jan-05 23:41 

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.