Click here to Skip to main content
15,913,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPocket PC Image Display Pin
sparky0130-Dec-02 14:49
sparky0130-Dec-02 14:49 
Questionwindow? Pin
imran_rafique30-Dec-02 13:20
imran_rafique30-Dec-02 13:20 
GeneralAfxGetResourceHandle() Fails Pin
Swinefeaster30-Dec-02 11:48
Swinefeaster30-Dec-02 11:48 
GeneralRe: AfxGetResourceHandle() Fails Pin
Ancient Dragon31-Dec-02 1:50
Ancient Dragon31-Dec-02 1:50 
GeneralRe: AfxGetResourceHandle() Fails Pin
Swinefeaster31-Dec-02 12:12
Swinefeaster31-Dec-02 12:12 
GeneralEdit control: only works once Pin
jimNLX30-Dec-02 11:26
jimNLX30-Dec-02 11:26 
GeneralRe: Edit control: only works once Pin
Alvaro Mendez30-Dec-02 11:46
Alvaro Mendez30-Dec-02 11:46 
GeneralRe: Edit control: only works once Pin
jimNLX31-Dec-02 5:40
jimNLX31-Dec-02 5:40 
These aren't member variables. The number entry code as posted is used as a soft keyboard. So I have to retain values as they are input so I can allow other functions such as clear and delete to remove characters.

I believe that the only reason I had to write my own cancel function is that some how I delete the OnCancel or it just wasn't working and I don't know how to get the original code back.

The OnOK function does work fine as it returns and the values are there. I don't do anything with this function in CNumberEntry as it just returns and I set the new values.

I don't know why I have the UpdateData(false)...I've tried so many thing and it has just hung around.

if(GetNumDlg.DoModal()== OnOK)
{
//number returned is sent to the host computer for update...

}

Thanks for taking the time to look at this.

Jim
GeneralRe: Edit control: only works once Pin
Alvaro Mendez31-Dec-02 6:32
Alvaro Mendez31-Dec-02 6:32 
GeneralRe: Edit control: only works once Pin
jimNLX31-Dec-02 7:34
jimNLX31-Dec-02 7:34 
GeneralRe: Edit control: only works once Pin
Alvaro Mendez6-Jan-03 17:57
Alvaro Mendez6-Jan-03 17:57 
GeneralRe: Edit control: only works once Pin
Anonymous7-Jan-03 10:30
Anonymous7-Jan-03 10:30 
GeneralOnIdle function eats up 100% of the processor Pin
Florin Ochiana30-Dec-02 10:52
Florin Ochiana30-Dec-02 10:52 
GeneralRe: OnIdle function eats up 100% of the processor Pin
pba_30-Dec-02 11:08
pba_30-Dec-02 11:08 
GeneralRe: OnIdle function eats up 100% of the processor Pin
Paul Oss30-Dec-02 19:35
Paul Oss30-Dec-02 19:35 
GeneralRe: OnIdle function eats up 100% of the processor Pin
Anonymous31-Dec-02 1:35
Anonymous31-Dec-02 1:35 
Generalsemaphores and threads Pin
amica30-Dec-02 10:48
amica30-Dec-02 10:48 
GeneralRe: semaphores and threads Pin
pba_30-Dec-02 11:17
pba_30-Dec-02 11:17 
GeneralName Pipe Error Pin
Spiros30-Dec-02 10:08
Spiros30-Dec-02 10:08 
GeneralCButton text at run time Pin
jimNLX30-Dec-02 9:07
jimNLX30-Dec-02 9:07 
GeneralRe: CButton text at run time Pin
jimNLX30-Dec-02 9:35
jimNLX30-Dec-02 9:35 
GeneralRe: CButton text at run time Pin
Thomas Lau30-Dec-02 18:19
Thomas Lau30-Dec-02 18:19 
QuestionHow do I get process name from handle? Pin
Neil scsn30-Dec-02 8:30
Neil scsn30-Dec-02 8:30 
AnswerRe: How do I get process name from handle? Pin
pba_30-Dec-02 11:03
pba_30-Dec-02 11:03 
GeneralIs this possible.... Pin
Member 9630-Dec-02 7:56
Member 9630-Dec-02 7:56 

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.