473,394 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Need to make a button in a dialogbox not show at all

I know about

EnableWindow(GetDlgItem( hDlg, IDCANCEL), FALSE )

which will gray a button in a dialog box.

But I want to make the button and some text to not show at all in one
instance.

Is that possible?

Thanks
Jan 4 '07 #1
4 1185
Franky wrote:
I know about

EnableWindow(GetDlgItem( hDlg, IDCANCEL), FALSE )

which will gray a button in a dialog box.

But I want to make the button and some text to not show at all in one
instance.
Frankie:

ShowWindow() with SW_HIDE.

David Wilkinson
Jan 4 '07 #2
>EnableWindow(GetDlgItem( hDlg, IDCANCEL), FALSE )
>
which will gray a button in a dialog box.

But I want to make the button and some text to not show at all in one
instance.

Is that possible?
Sure - use ShowWindow.

Dave
Jan 4 '07 #3
Thanks

"David Wilkinson" <no******@effisols.comwrote in message
news:Ov****************@TK2MSFTNGP04.phx.gbl...
Franky wrote:
>I know about

EnableWindow(GetDlgItem( hDlg, IDCANCEL), FALSE )

which will gray a button in a dialog box.

But I want to make the button and some text to not show at all in one
instance.

Frankie:

ShowWindow() with SW_HIDE.

David Wilkinson

Jan 4 '07 #4
thanks

"David Lowndes" <Da****@example.invalidwrote in message
news:ct********************************@4ax.com...
EnableWindow(GetDlgItem( hDlg, IDCANCEL), FALSE )

which will gray a button in a dialog box.

But I want to make the button and some text to not show at all in one
instance.

Is that possible?

Sure - use ShowWindow.

Dave

Jan 4 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DD | last post by:
As the user will not have access to the database, i want them to be able to click a button and open the create a new label,based on a default report i will have saved in the database. Can anyone...
1
by: Herve MAILLARD | last post by:
Hi, I have an aspx page with a Graph (teechart) and a button (export). The page is automatically updated by <META HTTP-EQUIV="Refresh" content='20;url='> When I click on the Export button, I...
3
by: majid | last post by:
When i show a webform as a dialogbox using showModalDialog script any postback event in dialogbox cause a new window pops up . How can i control the postback?
1
by: mnsindhu74 | last post by:
How do I embed a dialogbox as a resource in Visual studio 2005 ?
9
by: joemo2003 | last post by:
Please help. I created a custom dialogbox name "DialogBox". What i want is input values to the dialogbox, and those values appear on a textbox in Visio. After i creat the textbox and the dialogbox,...
5
by: joemo2003 | last post by:
In excel use "Application.Dialogs(xldialogopen).Show" to open a opendialogbox. Anybody know what is the name for the open dialogbox in Visio? thanks
1
by: duwei | last post by:
I got a example, it GetBkColor from a HDC(the dc get from a DialogBox), but it BkColor always color white, dialogbox default BkColor is color like gray, how can I do to get the correct color for...
7
by: Dave | last post by:
Hello All, These one may be a bit tricky, and what I'd like to do may not even be possible. I would love to hear any ideas you guys have for solving this. Here is the situation: I have a form...
2
by: abhijitmishra1102 | last post by:
Hi, i want to export files from DB to a selected folder on client machine. But i dont know how 2 show a select folder dialog box . we hav file seleect dialogbox but no folder select dialogbox ....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.