473,811 Members | 1,788 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

I know about

EnableWindow(Ge tDlgItem( 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 1203
Franky wrote:
I know about

EnableWindow(Ge tDlgItem( 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(G etDlgItem( 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******@effis ols.comwrote in message
news:Ov******** ********@TK2MSF TNGP04.phx.gbl. ..
Franky wrote:
>I know about

EnableWindow(G etDlgItem( 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.c om...
EnableWindow(Ge tDlgItem( 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
1390
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 direct me on how to open or start this mission Regards DD
1
1275
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 execute the following code : this.WebChart1.Chart.Export.Data.Excel.Save(@"c:\Inetpub\ftproot\" + this.Session.SessionID.ToString() + ".xls");
3
1663
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
1123
by: mnsindhu74 | last post by:
How do I embed a dialogbox as a resource in Visual studio 2005 ?
9
3422
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, I used "DialogBox.show", so i can enter values, and I use "ashape as shape", "ashape.Text=userinput", then how should i defind "userinput"? Thanks
5
1817
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
1585
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 dialogbox? Thanks!
7
3328
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 that displays the high-level data for a set of records in continuous forms mode. I have a simple command button that will open another form with the details of the selected record.
2
6803
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 . Plz tell me how 2 show a folder select dialogbox Thanks...
0
9728
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10648
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10135
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9205
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5554
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3018
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.