473,585 Members | 2,512 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to change the color bar under fill/back color icon on toolbar and use last color setting

KW
I created custom toolbar icons that look and function similar to the
standard MS Access Fill/Back Color and Fill/Fore Color toolbar icons.
My custom icons call a function that uses the Terry Kreft and Stephan
Lebans 'aDialogColor' function. I modified the function slightly to
open the full color palette with CC_FULLOPEN + CC_RGBINIT and pass to
the function the color that I want to set initially before calling
ChooseColor.

My issue is, I would like to set the color bar that appears beneath
the actual Fill/Back Color and Fill/Fore Color icon on my custom icons
exactly like it does on the standard MS Access icons and be able to
use this last color chosen when you click on it.

Any ideas?
Thanks very much.
KW

Aug 15 '07 #1
0 1680

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

Similar topics

4
6352
by: Tim Jarman | last post by:
Apologies in advance for the long post - I wanted to be sure I included all the relevant details. The answer is probably very, very simple. I am doing something stupid here, but I don't know what it is. I'm writing an application with a Tkinter GUI (Python 2.4, Tcl/Tk 8.4.) and I want to put a custom icon on the main window. I've followed...
4
6254
by: Andre Nogueira | last post by:
hi there. I am creating a tabcontrol where the drawing of the tabs is controlled by me. However, i cannot find a way to change the lenght of the tab. For instance, "String" needs a smaller tab than a tab which text is "this is a tab with a really really long text". How can this be done, the changing of the width of the tab? Thanks! André...
2
1540
by: able | last post by:
Dear friends I have added an icon to the toolbar. The icon is excellent in preview but in the toolbar it displays with poor quality. Do somebody know what may cause the lower quality in toolbar? Regards Able
6
10659
by: Aaron Smith | last post by:
Ok. I have a dataset that has multiple tables in it. In one of the child tables, I have a column that I added to the DataSet (Not in the DataSource). This column does not need to be stored in the data on the datasource. It simply gets the first name and last name of an instructor and displays it in the grid. I have two major problems.... One,...
13
4166
by: nyt | last post by:
I have a problem of number and text field. I got the database file(mdb) that contains many combo boxes used and its list values are created by "value list" For eg field Field name= 'furniture' , data type='Number' ,Display Control='Combo Box', RowSource Type = 'Value List' and Row Source = ' 0;"chair";1;"Table";2;"Bed" ' Therefore, in...
1
1969
by: Noozer | last post by:
How to change IP Gateway simply? Just looking for some sample code... Could be VB6 or VB Net 2005.... I want to have a Tray icon. When double clicked it changes the TCPIP gateway to a secondary choice. Double click again and it's back to the original setting. Thx!
19
2356
by: felixnielsen | last post by:
Some might remember that i, not so long ago, started a treath or two about a weird 3d labyrinth. I now have a working code, that i want to share, hear comments, advice, ect., but first let me explain what its all about. The whole labyrinth is a cubic in its self and it contains x^3 cubic rooms. The labyrinth is infinite/finite, it has no...
1
2445
by: bkasmai | last post by:
An access 2000 database is used by a number of users on a windows xp professional machine. Users logon to the machine using their own individual windows login name and password. The database is in a folder acccessible by all users. One of the users reported that the built-in toolbar disappeared fro the screen. I cannot get built-in toolbar...
5
2666
by: Rick | last post by:
I'm moving Access2000/2003 apps into Access2007 running on XPpro Dells. I've found where to lower the macro security and with a tweak to references have allowed me to use my custom toolbars without the ribbon. My toolbars are small usually just Print and Close. The Print icon works OK but nothing happens when you click on Close. Any work...
0
7908
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...
0
7836
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...
1
7950
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...
0
6606
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...
0
5389
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3835
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...
0
3863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1447
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1175
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...

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.