Click here to Skip to main content
15,902,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: System clock loses time and jumps back up Pin
Randor 12-Nov-09 15:20
professional Randor 12-Nov-09 15:20 
QuestionHow to hide a dialog box of another application completely ? Pin
hongheo7611-Nov-09 11:52
hongheo7611-Nov-09 11:52 
AnswerRe: How to hide a dialog box of another application completely ? Pin
«_Superman_»11-Nov-09 12:04
professional«_Superman_»11-Nov-09 12:04 
QuestionAdd dual COM interface to non-MFC application [solved] Pin
jmen@moc11-Nov-09 11:16
jmen@moc11-Nov-09 11:16 
AnswerRe: Add dual COM interface to non-MFC application Pin
Stuart Dootson11-Nov-09 11:41
professionalStuart Dootson11-Nov-09 11:41 
GeneralRe: Add dual COM interface to non-MFC application Pin
jmen@moc11-Nov-09 11:55
jmen@moc11-Nov-09 11:55 
AnswerRe: Add dual COM interface to non-MFC application [solved] Pin
«_Superman_»11-Nov-09 11:55
professional«_Superman_»11-Nov-09 11:55 
QuestionProgramatically change paper size during execution of PageSetupDlg Pin
hx200011-Nov-09 11:06
hx200011-Nov-09 11:06 
I developed a customized PageSetupDlg that has some additional controls including a "Restore Defaults" button. When this button is clicked the current settings for margins, orientation and paper size should be reset to certain default values without closing the dialog box. This is not a problem with margins and orientation but I haven't found a way to handle the dropdown list for paper size, i.e. to find the appropriate list entry that my app must select for the desired paper size. Parsing the text of the entries doesn't seem to be a very safe way.

I think there are at least three possible methods to achieve this but I couldn't get any of them to work:
- simply tell the dialog or list box to "select paper size x by y"
- a safe way to enumerate the paper sizes corresponding with each of the list entries (in the correct order!)
- "refresh" the dialog box with a predefined DEVMODE struct

Grateful for any clues,
hx2000
Question[Message Deleted] Pin
hunter12348311-Nov-09 9:26
hunter12348311-Nov-09 9:26 
AnswerRe: Result search clustering using salient phrase extaction Pin
Richard MacCutchan11-Nov-09 9:50
mveRichard MacCutchan11-Nov-09 9:50 
QuestionHow to get a process name from process ID ? Pin
hongheo7611-Nov-09 9:25
hongheo7611-Nov-09 9:25 
AnswerRe: How to get a process name from process ID ? Pin
Randor 11-Nov-09 9:43
professional Randor 11-Nov-09 9:43 
GeneralRe: How to get a process name from process ID ? Pin
hongheo7611-Nov-09 10:37
hongheo7611-Nov-09 10:37 
GeneralRe: How to get a process name from process ID ? Pin
Randor 11-Nov-09 11:18
professional Randor 11-Nov-09 11:18 
AnswerRe: How to get a process name from process ID ? Pin
wangningyu11-Nov-09 21:37
wangningyu11-Nov-09 21:37 
General[OT] Re: How to get a process name from process ID ? Pin
David Crow12-Nov-09 5:26
David Crow12-Nov-09 5:26 
GeneralRe: [OT] Re: How to get a process name from process ID ? Pin
wangningyu12-Nov-09 15:53
wangningyu12-Nov-09 15:53 
Questionconverting string to time [modified] Pin
sugarandcream11-Nov-09 8:46
sugarandcream11-Nov-09 8:46 
AnswerRe: converting string to time Pin
David Crow11-Nov-09 9:05
David Crow11-Nov-09 9:05 
GeneralRe: converting string to time Pin
sugarandcream11-Nov-09 10:12
sugarandcream11-Nov-09 10:12 
QuestionRe: converting string to time Pin
David Crow11-Nov-09 10:15
David Crow11-Nov-09 10:15 
AnswerRe: converting string to time Pin
sugarandcream11-Nov-09 10:45
sugarandcream11-Nov-09 10:45 
QuestionRe: converting string to time Pin
David Crow11-Nov-09 10:53
David Crow11-Nov-09 10:53 
AnswerRe: converting string to time Pin
sugarandcream11-Nov-09 11:05
sugarandcream11-Nov-09 11:05 
GeneralRe: converting string to time Pin
David Crow12-Nov-09 2:39
David Crow12-Nov-09 2:39 

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.