The Ace Posted September 21, 2008 Share Posted September 21, 2008 Hey Guys, Today I got sick of the default windows color selection tool, there are so many application that could do the same job but so much better, that it's just sad to have the same tool from windows 3.11 (remember? :| ). As far as I know, windows keeps its "apps" in DLL files, can someone point me to the right DLL file that hosts the color selection tool? If you got better ideas how to deal with the annoying 3.11 remanent, I'd love to hear... Link to comment Share on other sites More sharing options...
dis Posted September 21, 2008 Share Posted September 21, 2008 shell32.dll > dialog 29956 (small color picker dialog) comdlg32.dll > choosecolor dialog (basic and custom colors) Link to comment Share on other sites More sharing options...
The Ace Posted September 22, 2008 Author Share Posted September 22, 2008 shell32.dll > dialog 29956 (small color picker dialog)comdlg32.dll > choosecolor dialog (basic and custom colors) Hi dis, thanks for the info. I've seen your site on vp, and noticed that you don't like the default windows UI.. :) anyhow, did you tried to replace the default windows color selector? Now that I'm thinking about it, the `new` color selector should be able to communicate with all the applications that will try to use, get info from them (color) and send back. back when I learned VB (almost a decade ago) I remember that you could send default colors and get "bookmarked" colors list, so that would have to be integrated too to the new color dialog... ugh, seems too much of a hassle :pinch: Link to comment Share on other sites More sharing options...
dis Posted September 22, 2008 Share Posted September 22, 2008 in my color chooser i swapped the 2 panels and resized the dialog. however it has a little bug* [there are 2 kinds of colorpicker in windows. the compact one (showing only the basic colors. like in mspaint) and the extended one (showing the the bigger dialog. ).] *so, when an app uses the compact dialog (i.e; mspaint) i have to click the "start" button (it was the define custom color button previosly) and then overlap the color chooser dialog with a window or an app for showing the colorbar correctly. original: mine: and this is my code for this compact size colorpicker: CHOOSECOLOR DIALOG 2, 0, 144, 184 STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Color" LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US FONT 8, "MS Shell Dlg" { CONTROL "basic colors", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 152, 4, 140, 9 CONTROL "", 720, STATIC, SS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 152, 14, 140, 86 CONTROL "custom colors:", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 152, 106, 140, 9 CONTROL "", 721, STATIC, SS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 152, 116, 140, 28 CONTROL "start ", 719, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 50, 166, 44, 14 CONTROL "OK", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 4, 166, 44, 14 CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 96, 166, 44, 14 CONTROL "&Help", 1038, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_GROUP | WS_TABSTOP, 84, 766, 44, 14 CONTROL "", 710, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 4, 3, 118, 116 , 0x00000008 CONTROL "", 702, STATIC, SS_SIMPLE | WS_CHILD | WS_VISIBLE, 128, 4, 8, 114 CONTROL "", 709, STATIC, SS_GRAYFRAME | WS_CHILD | WS_VISIBLE, 4, 124, 30, 40 CONTROL "&o", 713, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 299, 200, 4, 14 CONTROL "Color", 730, STATIC, SS_RIGHT | WS_CHILD | WS_GROUP, 152, 151, 20, 9 CONTROL "|S&olid", 731, STATIC, SS_LEFT | WS_CHILD | WS_GROUP, 172, 151, 20, 9 CONTROL "Hu&e:", 723, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 45, 126, 20, 9 CONTROL "", 703, EDIT, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP, 66, 124, 18, 12 CONTROL "&Sat:", 724, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 45, 140, 20, 9 CONTROL "", 704, EDIT, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP, 66, 138, 18, 12 CONTROL "&Lum:", 725, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 45, 154, 20, 9 CONTROL "", 705, EDIT, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP, 66, 152, 18, 12 CONTROL "&Red:", 726, STATIC, SS_RIGHT | WS_CHILD | WS_VISIBLE | WS_GROUP, 90, 126, 24, 9 CONTROL "", 706, EDIT, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP, 120, 124, 18, 12 CONTROL "&Green:", 727, STATIC, SS_RIGHT | WS_CHILD | WS_VISIBLE | WS_GROUP, 90, 140, 24, 9 CONTROL "", 707, EDIT, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP, 120, 138, 18, 12 CONTROL "Bl&ue:", 728, STATIC, SS_RIGHT | WS_CHILD | WS_VISIBLE | WS_GROUP, 90, 154, 24, 9 CONTROL "", 708, EDIT, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP, 120, 152, 18, 12 CONTROL "Add", 712, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_GROUP | WS_TABSTOP, 96, 166, 44, 14 } Link to comment Share on other sites More sharing options...
Recommended Posts