473,624 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with ColorDialog and MenuStrip

Hi,
problem #1 : I have a MenuStrip on my Windows form and it doesn't get
painted (is transparent) unless I move the form... Anyone ever encountered
this? Anyone knows what could cause it?

problem #2 : I want to make a ColorDialog appear, but everytime I want to
show it, it appears behind my form so I have to go to another application
and go back to my application to see it. Is it a bug? Here's the code
(can't be simpler)

ColorDialog cd = new ColorDialog();
cd.ShowDialog() ;

Can anyone help please?!? These are the last two known bugs in my
application.

Thanks

ThunderMusic
Aug 23 '06 #1
0 1038

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

Similar topics

1
6511
by: Ekey | last post by:
Hi: I want to realize the function that get a transparent color with standard ColorDialog ,but standard ColorDialog is not transparent color.i do not want to define a dialog such as colordialog by myself ,and i want to use standard Colordialog to realize that get a transparent color. Or add a button to standard ColorDialog to realize it.Now How to do it? Ms Office have the function : insert textbox and set textbox's backcolor's dialog has...
2
6786
by: SpotNet | last post by:
Hi Newsgroup, I've been creating (almost done) Common Dialog class libraries (under one name space) with highly customisable common dialogs. With my ColorDialog I am able to completely hide (make invisible) the custom colours palette and move the OK, Cancel and Help buttons a little under the basic colours palette. I have noticed if I do not move the buttons, yes I get grey space (which is the idea) but, if I click a basic colour off...
0
854
by: Steve Randall | last post by:
If you enable the 'define custom colors' button on the ColorDialog control the displayed form displays the basic colors on the left-hand side and the 'color builder' on the right-hand side. What I would like to be able to do is just display the 'color builder' bit, and not the show the basic colors, so that when the use clicks on the 'Add to Custom Colours' button it returns the value for the created color.
1
1566
by: Steve Randall | last post by:
If I use the standard ColorDialog control to select a colour (say a pale blue) I get the returned value of 16762980 which is fine (Red=100, Green=200, Blue=255), BUT why when I use the following do I just get a transparent background??? Panel2.BackColor = Color.FromArgb(16762980) Many thanks. Steve
0
2367
by: academic | last post by:
Using ToolStripManager.Merge(ToolStrip,ToolStrip) I've been able to merge a MenuStrip into a MenuStrip but never a ContextMenuStrip into a MenuStrip. From the docs it seems to me I should be able to.
6
2636
by: Pucca | last post by:
My container with 2 panels containning Treeveiw and Listview controls are chopped off on the top by the toolstripmenu when I dock the these 2 contols in the parent container and the container is also docked to the parent, and the container at this poit enlarges and covers up the toolstripmenu. If I don't dock them then they don't resize when the form/container gets resize by the user. I have a toolcontianer with menustrip and toolstrip. ...
0
982
by: ThunderMusic | last post by:
Hi, problem #1 : I have a MenuStrip on my Windows form and it doesn't get painted (is transparent) unless I move the form... Anyone ever encountered this? Anyone knows what could cause it? problem #2 : I want to make a ColorDialog appear, but everytime I want to show it, it appears behind my form so I have to go to another application and go back to my application to see it. Is it a bug? Here's the code (can't be simpler)
1
2689
by: nanaalwi | last post by:
Hi all, I'm doing a software using vb.net that related to excel. The software that i implement requires filling the color inside the cells. Previously, the source code that I used is: objSheet.Cells(1,3).Interior.ColorIndex = 56 Using this source code. the color is fixed by me. (Color index 56 = Black). However, I need to write the software in such a way that the user can select the color thay they want. How do I fill the color of a...
4
5932
by: MickT | last post by:
On an Options form I am setting a textbox.backcolor to a colour selected from the colordialog control, so that the backcolor of all textboxes in an application may be set to the user's preference. I know how to save strings to the registry to read them back later, but can anyone tell me how I save the backcolor of a textbox to the registry, please? The other associated question is, "How do I save a custom colour created in the colordialog,...
0
8177
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
8681
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
8629
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8341
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7170
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...
1
6112
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4183
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2611
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
1
1793
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.