Click here to Skip to main content
15,917,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SendMessage Hangs Pin
krmed10-Jul-08 1:58
krmed10-Jul-08 1:58 
QuestionWorking of Enter key on List Ctrl. Pin
Le@rner9-Jul-08 19:17
Le@rner9-Jul-08 19:17 
AnswerRe: Working of Enter key on List Ctrl. Pin
fantasy12159-Jul-08 22:43
fantasy12159-Jul-08 22:43 
GeneralRe: Working of Enter key on List Ctrl. Pin
Le@rner9-Jul-08 23:03
Le@rner9-Jul-08 23:03 
GeneralRe: Working of Enter key on List Ctrl. Pin
Le@rner10-Jul-08 18:12
Le@rner10-Jul-08 18:12 
GeneralRe: Working of Enter key on List Ctrl. Pin
fantasy121525-Jul-08 15:08
fantasy121525-Jul-08 15:08 
GeneralRe: Working of Enter key on List Ctrl. Pin
Le@rner25-Jul-08 21:58
Le@rner25-Jul-08 21:58 
QuestionHow can I handle the 'Apply' button click individually for each property page ? Pin
SherTeks9-Jul-08 18:58
SherTeks9-Jul-08 18:58 
I have two property pages incorporated in a property sheet.

Property page 1 has a edit control and property page 2 has
a simple push button.

I have overridden the OnApply virtual function for both
the property pages.

When the property sheet is shown, I enable the 'Apply'
button by handling EN_cHANGE notification of the edit
control for Property page 1. On clicking the 'Apply'
button, I show a message defined in overridden OnApply ()
of Property Page 1 and disable the 'Apply' button by
SetModified(FALSE).

Then, I go to Property Page 2 tab and click on the button
on it to enable the 'Apply' button.Now, I click on the 'Apply'
button expecting a message defined in the overridden OnApply()
of Property page 2.

But, I get the message defined in Property Page 1 first and then
get the message in Property page 2.

To summarize, On clicking the 'Apply' button while the
Property page 2 is active, my control is going into the
OnApply() of Property page 1 and then comes into the OnApply()
of Property page 2.

Why is this happening ? Is this the expected behavior ?

Thanks in advance.
AnswerRe: How can I handle the 'Apply' button click individually for each property page ? Pin
Iain Clarke, Warrior Programmer9-Jul-08 23:55
Iain Clarke, Warrior Programmer9-Jul-08 23:55 
QuestionLsaEnumerateAccountRights Pin
vineeshV9-Jul-08 18:58
vineeshV9-Jul-08 18:58 
AnswerRe: LsaEnumerateAccountRights Pin
Iain Clarke, Warrior Programmer10-Jul-08 0:01
Iain Clarke, Warrior Programmer10-Jul-08 0:01 
Questionunicode to mbcs problem [Solved] Pin
followait9-Jul-08 18:18
followait9-Jul-08 18:18 
AnswerRe: unicode to mbcs problem Pin
Saurabh.Garg9-Jul-08 18:22
Saurabh.Garg9-Jul-08 18:22 
GeneralRe: unicode to mbcs problem Pin
followait9-Jul-08 19:03
followait9-Jul-08 19:03 
AnswerRe: unicode to mbcs problem Pin
Stephen Hewitt9-Jul-08 18:42
Stephen Hewitt9-Jul-08 18:42 
GeneralRe: unicode to mbcs problem Pin
followait9-Jul-08 19:26
followait9-Jul-08 19:26 
GeneralRe: unicode to mbcs problem Pin
Stephen Hewitt9-Jul-08 19:29
Stephen Hewitt9-Jul-08 19:29 
GeneralRe: unicode to mbcs problem Pin
followait9-Jul-08 20:09
followait9-Jul-08 20:09 
GeneralRe: unicode to mbcs problem Pin
Stephen Hewitt9-Jul-08 20:11
Stephen Hewitt9-Jul-08 20:11 
QuestionProblem of Print Preview. Pin
Le@rner9-Jul-08 18:13
Le@rner9-Jul-08 18:13 
AnswerRe: Problem of Print Preview. Pin
Iain Clarke, Warrior Programmer10-Jul-08 0:06
Iain Clarke, Warrior Programmer10-Jul-08 0:06 
NewsLook for a friend Pin
halibobo9-Jul-08 17:52
halibobo9-Jul-08 17:52 
GeneralRe: Look for a friend [modified] Pin
_AnsHUMAN_ 9-Jul-08 18:52
_AnsHUMAN_ 9-Jul-08 18:52 
GeneralRe: Look for a friend Pin
halibobo9-Jul-08 20:54
halibobo9-Jul-08 20:54 
QuestionCrashing at RegQueryValueEx Pin
monsieur_jj9-Jul-08 16:00
monsieur_jj9-Jul-08 16:00 

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.