Re: Not to display "OK" button
- From: "Tom Serface" <tom.nospam@xxxxxxxxxxxxx>
- Date: Wed, 25 Apr 2007 06:41:32 -0700
If you want to "not" show it sometimes, but show it other times you can always use ShowWindow(SW_SHOW) or ShowWindow(SW_HIDE) as well. I tend to just disable controls that are used sometimes, but not valid at other times. For example, one might disable the OK button until it's actually OK to exit the dialog, leaving the Cancel button available in case the user wants an escape route. The same is true for Next, Previous, and other kinds of buttons indicating that we are moving off the dialog.
Tom
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message news:cb0t23dmq11rjo7i2jde46vlf64i3bv9b1@xxxxxxxxxx
Delete it? Sounds like a start...
joe
On 24 Apr 2007 03:28:05 -0700, lucky <Laxmanmaruthy@xxxxxxxxx> wrote:
HiJoseph M. Newcomer [MVP]
I want the dialog not to display the "OK" button at the top left
corner.
So what should i do for this.......
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: Not to display "OK" button
- From: Joseph M . Newcomer
- Re: Not to display "OK" button
- References:
- Not to display "OK" button
- From: lucky
- Re: Not to display "OK" button
- From: Joseph M . Newcomer
- Not to display "OK" button
- Prev by Date: Re: grid
- Next by Date: Re: problem w/ exporting variables from dll
- Previous by thread: Re: Not to display "OK" button
- Next by thread: Re: Not to display "OK" button
- Index(es):