Click here to Skip to main content
15,914,406 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Braces required? Pin
Haakon S.9-Jul-03 9:53
Haakon S.9-Jul-03 9:53 
GeneralRe: Braces required? Pin
Jamie Hale9-Jul-03 10:13
Jamie Hale9-Jul-03 10:13 
GeneralRe: Braces required? Pin
Haakon S.9-Jul-03 11:18
Haakon S.9-Jul-03 11:18 
Generalvisual studio 2003 + crtdbg.h Pin
dTCrash9-Jul-03 4:50
dTCrash9-Jul-03 4:50 
GeneralRe: visual studio 2003 + crtdbg.h Pin
keegan9-Jul-03 4:58
keegan9-Jul-03 4:58 
Generalit's working, thx Pin
dTCrash9-Jul-03 6:22
dTCrash9-Jul-03 6:22 
GeneralRe: visual studio 2003 + crtdbg.h Pin
Mike Dimmick9-Jul-03 6:26
Mike Dimmick9-Jul-03 6:26 
GeneralRefreshing a listBox when a page is setactive Pin
keegan9-Jul-03 4:43
keegan9-Jul-03 4:43 
Ok, i have yet another refreshing problem. I have a lsitbox on a dialogpage (actually, its page1 of a propertysheet dialog, if it makes any difference) that has x number of strings. The user has the option to delete, add to, or edit a current string. If the user selects, say, to add a new string, a new window pops up asking for the name of the string.

WHen the user hits ok, the stringname is stored and added to the contents of the lisbox. However, when the user hits ok, the main page (with the listbox) is now in focus, and the contents of the listbox have not been updated. The only way to see the new string is to change focus to another page in the dialog box, or close the dialogbox and reopen it.

I've tried UpdateData() in OnSetActive, which i put in the page1 class of my propertysheet. It didint work. (i admit i dont fully understand it, but it was a shot in the dark).

Is there some way i can refresh the page (or the whole dialog for that matter) When focus is set to it? Or, is there a way to refresh only the listbox?

*.*
GeneralRe: Refreshing a listBox when a page is setactive Pin
David Crow9-Jul-03 4:59
David Crow9-Jul-03 4:59 
GeneralRe: Refreshing a listBox when a page is setactive Pin
keegan9-Jul-03 5:10
keegan9-Jul-03 5:10 
GeneralRe: Refreshing a listBox when a page is setactive Pin
David Crow9-Jul-03 5:49
David Crow9-Jul-03 5:49 
Generaldisplaying a jpg Pin
Tom Wright9-Jul-03 4:31
Tom Wright9-Jul-03 4:31 
GeneralRe: displaying a jpg Pin
John M. Drescher9-Jul-03 4:41
John M. Drescher9-Jul-03 4:41 
GeneralRe: displaying a jpg Pin
Ryan Binns9-Jul-03 4:59
Ryan Binns9-Jul-03 4:59 
GeneralRe: displaying a jpg Pin
PJ Arends9-Jul-03 11:25
professionalPJ Arends9-Jul-03 11:25 
GeneralReading very large files > 32G Pin
rdh9-Jul-03 4:23
rdh9-Jul-03 4:23 
GeneralRe: Reading very large files > 32G Pin
John M. Drescher9-Jul-03 4:30
John M. Drescher9-Jul-03 4:30 
GeneralRe: Reading very large files > 32G Pin
David Crow9-Jul-03 4:47
David Crow9-Jul-03 4:47 
QuestionWriting the actual addresses of a struct in memory??? Pin
johnstonsk9-Jul-03 4:22
johnstonsk9-Jul-03 4:22 
AnswerRe: Writing the actual addresses of a struct in memory??? Pin
John M. Drescher9-Jul-03 4:35
John M. Drescher9-Jul-03 4:35 
Generaltype "double" question Pin
DaveE9th9-Jul-03 4:11
DaveE9th9-Jul-03 4:11 
GeneralRe: type "double" question Pin
BoudewijnEctor9-Jul-03 4:14
BoudewijnEctor9-Jul-03 4:14 
GeneralRe: type "double" question Pin
DaveE9th9-Jul-03 4:25
DaveE9th9-Jul-03 4:25 
GeneralRe: type "double" question Pin
Cedric Moonen9-Jul-03 4:30
Cedric Moonen9-Jul-03 4:30 
GeneralRe: type "double" question Pin
David Crow9-Jul-03 4:34
David Crow9-Jul-03 4:34 

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.