Click here to Skip to main content
15,895,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with CMenu Pin
Rage7-Aug-03 6:42
professionalRage7-Aug-03 6:42 
GeneralDesktop window Pin
Zak_7-Aug-03 5:13
Zak_7-Aug-03 5:13 
GeneralRe: Desktop window Pin
Ryan Binns7-Aug-03 5:19
Ryan Binns7-Aug-03 5:19 
GeneralSetDlgItemText problems Pin
keegan7-Aug-03 4:32
keegan7-Aug-03 4:32 
GeneralRe: SetDlgItemText problems Pin
Ryan Binns7-Aug-03 4:45
Ryan Binns7-Aug-03 4:45 
GeneralRe: SetDlgItemText problems Pin
keegan7-Aug-03 4:53
keegan7-Aug-03 4:53 
GeneralRe: SetDlgItemText problems Pin
Ryan Binns7-Aug-03 5:04
Ryan Binns7-Aug-03 5:04 
GeneralRe: SetDlgItemText problems Pin
keegan7-Aug-03 5:13
keegan7-Aug-03 5:13 
void ReadAnalog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);


	int value;
	value = 1;
	
        for(;;)
	{
              SetDlgItemInt( IDC_READ_ANALOG_01, value );
        }
}


at some point i will add code to read in from a meter and store a number into 'value' but until then, i just set it = 1.

I don't exactly get an error when i open the dialog window, however, the window does not open and i get the (Not Responding) thing in the title bar of my program. My assumption is that this for loop executes forever, and the page will not get created until it is finished. (I just made the loop go from 0-20, and the program worked fine.)

Is there some other place i can update the value of the static text after it has been displayed?

*.*
cin >> knowledge;
GeneralRe: SetDlgItemText problems Pin
Ryan Binns7-Aug-03 5:18
Ryan Binns7-Aug-03 5:18 
GeneralRe: SetDlgItemText problems Pin
keegan7-Aug-03 5:29
keegan7-Aug-03 5:29 
GeneralRe: SetDlgItemText problems Pin
Ryan Binns7-Aug-03 5:33
Ryan Binns7-Aug-03 5:33 
GeneralRe: SetDlgItemText problems Pin
keegan7-Aug-03 5:48
keegan7-Aug-03 5:48 
GeneralRe: SetDlgItemText problems Pin
JWood7-Aug-03 6:28
JWood7-Aug-03 6:28 
GeneralRe: SetDlgItemText problems Pin
Ryan Binns7-Aug-03 13:18
Ryan Binns7-Aug-03 13:18 
GeneralRe: SetDlgItemText problems Pin
vcplusplus7-Aug-03 4:45
vcplusplus7-Aug-03 4:45 
GeneralChanging http_user_agent in webbrowser control Pin
hkulten7-Aug-03 4:21
hkulten7-Aug-03 4:21 
QuestionHow to hide process in Windows NT/XP Pin
breakpoint7-Aug-03 3:51
breakpoint7-Aug-03 3:51 
AnswerRe: How to hide process in Windows NT/XP Pin
John M. Drescher7-Aug-03 4:20
John M. Drescher7-Aug-03 4:20 
AnswerRe: How to hide process in Windows NT/XP Pin
Ryan Binns7-Aug-03 4:23
Ryan Binns7-Aug-03 4:23 
GeneralRe: How to hide process in Windows NT/XP Pin
John M. Drescher7-Aug-03 4:36
John M. Drescher7-Aug-03 4:36 
AnswerRe: How to hide process in Windows NT/XP Pin
Vitali Halershtein7-Aug-03 4:36
Vitali Halershtein7-Aug-03 4:36 
GeneralRe: How to hide process in Windows NT/XP Pin
breakpoint7-Aug-03 18:58
breakpoint7-Aug-03 18:58 
GeneralRe: How to hide process in Windows NT/XP Pin
John M. Drescher7-Aug-03 22:40
John M. Drescher7-Aug-03 22:40 
QuestionHow to get the file name while doing saving process internally in vc++ Pin
tha_siva7-Aug-03 3:35
tha_siva7-Aug-03 3:35 
AnswerRe: How to get the file name while doing saving process internally in vc++ Pin
David Crow7-Aug-03 3:44
David Crow7-Aug-03 3:44 

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.