CDialog background color
How can change the background colour of a dialog programmatically?
>How can change the background colour of a dialog programmatically?
Handle the WM_CTLCOLORDLG message (OnCtlColor CTLCOLOR_DLG in MFC)
and return a brush of the colour you want.
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Thanks but it didn't work!
here is the code that I wrote:
HBRUSH CDialogAppCon::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
// TODO: Change any attributes of the DC here
// TODO: Return a different b...Best publisher brochure templates on the Web???
I'm looking for some HIGH quality brochure templates on the web - not
looking for the cheap freebies. Willing to pay a fair price for good
teplates similar to the quality I've found on pixelmill.com for web
Office has a lot of templates
HP has good ones for Publisher
I'm a new programmer with C++
We are using VC++6 I'd like to know if it's possible to give a backgroung
color to a label (static text) from my code.
I want to change the background color of a lable (static text) depending on
what the user choose from a combo box color
I think you can subclass your "static class" window and write your own
WM_ERASEBKGND message handler....
Something like this:
class CMyStaticText: public CStatic
afx_msg BOOL OnEraseBkgnd(CDC *);
BEGIN_MES...Protected Sheet, change tab order?
I've created a two page fill in sheet. When protected only certain cells
are available for editing. My two pages end up being side by side on the
sheet due to columns needed and vertically it would have been a mess.
Horizontally I can have 15 columns on page one and 6 columns on page two.
My problem is, I would like to be able to tab through the sheet in a certain
manner meaning, Tab through all cells vertically in the B columns first then
tab through the cells in the E column and then move to page two and tab
through row 6, a, b c d e f then row 7, a b c d e f and so on. Is ther...Change cell color after processes
In this program which works until I added the .cells color - basically I
want to color the cell if it existed and was moved or a different color if
the file was not found.
I keep getting a type mismatch. The code is below.
Dim I As Long
Dim Destination As String
Dim Lastrow As Long
Lastrow = Worksheets(1).Cells(Rows.Count, 1).End(xlUp).Row
For I = 1 To Lastrow
MoveFiles Range("A" & I).Value, "P:\Web_ICC\Archive_Test\", I
Cells("A", I).Interior.ColorIndex = 6
'Sub routin...Color Scheme Disapeared?
Several lines were shaded the standard beige that appears on the color
scheme chart when the color chart icon is pressed in Excel 2000. To my
surprise ... and for no known reason... all lines shaded with that color
changed to a cruddy gray. When I looked at the chart again, where the beige
had been is now that crummy gray... as it appears in several other boxes of
that chart now. When I place my cursor over those boxes of gray, I get a
text reading of "Color Scheme" rather than the name of the color the cursor
What the heck happened and how do I get that beige back?
Never ...Pivot table reports publish in pws
I want to Publish my pivot table report in my personnel
web server.How can i Achive this.
Windows 98 second eddition
and office 2000.
...Help formatting text color based on formula
I have searched the forum and find some things that help but not quite
enough. I have a table of numbers. In fact there are 300 rows of 5
colums of numbers. What I would like to do is to change the color of
the number if it matches one of 5 other numbers.
Example Reference #s 2 6 23 43 48
01 02 09 08 14
06 14 23 43 44
03 11 23 24 52
The example list is already populated. When the reference numbers are
entered I want any number in the example list that matches any number
the reference list to change to a specified color. Any way to...Change border color of active cell??
How can i change the border color of the active cell in Ecell 2004 for MAC??
...re: Changing subject/conversation text color <email@example.com>
Never mind. I changed it with "Other Settings, Shade Group Headings". Couldn't change the color, but the color is now black on gray (my system setting) and is a lot better.
EggHeadCafe.com - .NET Developer Portal of Choice
...Microsoft Publisher #9
I am trying to create a Christmas program in Publisher. I am having trouble
with pages moving when I add pages to the end of the program. I have page
1,2, 3, 4 together before I add pages after page 4. Then once I add pages
the items I have on 1,2,3,4 separate. It's extremely fustrating.
Thank you for any help.
What did you use for a template? What version of Publisher?
Don - Publisher 2000�
"Nancy" <Nancy@discussions.microsoft.com> wrote in message
>I am trying to creat...Problem Changing Image Quality
Operating System: Mac OS X 10.5 (Leopard)
I wanted to change from 'economode' to a higher print quality, so I tried the following: File --> Print--> Copies and Pages --> Image Quality --> Economode --> Highest Quality. That did not work. My printer (HP P2015d) continued to print in economode.
Any advice would be appreciated. Thank you.
It sounds like the setting is specific to your printer driver - none of
those I have include a print quality setting in the Copies & Pages dialog.
So, the first thing I'd...color in checkbox?
Any way you can have a checkbox turn a color (fill in black or whatever
color) when you click on it instead of a checkmark?
> Any way you can have a checkbox turn a color (fill in black or
> whatever color) when you click on it instead of a checkmark?
Not with a genuine form-field checkbox (although with an exit macro you
could change the checkbox's font color, that's not "instead of a
Using the technique at http://gregmaxey.mvps.org/Add_Toggle_Objects.htm,
though, you can make the "checkbox" b...Excel 2007 Change Standard Colors How?
I just started Excel 2007. My spreadsheets typically have a lot of cells
that are color filled. When I work on a old or new one, I find the light
bright color fills of 2003 aren't there as defaults or easy to find without
multiple clicks. Is there a way to change the standard colors presented when
you click on the paint bucket?
Thanks for your help!
...publisher 2003 calendars
does anybody know how to change in monthly calendar the day? I dont want that the week starts with Sunday, but Monday
I am using Microsoft publisher 2003.
Thanx for any reply
After managing to set up OE-QuoteFix on his new PC, Ed reads a message
from alena <firstname.lastname@example.org>...
> does anybody know how to change in monthly calendar the day? I dont
> want that the week starts with Sunday, but Monday. I am using
> Microsoft publisher 2003.
Try changing your Locale settings in Start > Control Panel > Regional
Ed Bennett - MVP Microsoft...color code
I have trying to do this, but to no avail.
I want cells to change color like:
more than 60 days before certain date - they're green
1 - 60 days - they're yellow
0 days and days after - they're red
Format | Conditional Format | Cell Value is < A1-60 where the date to check
against is in cell A1. Define your Format.
Same for the other formats
> I have trying to do this, but to no avail.
> I want cells to change color like:
> more than 60 days before certain date - they're green
> 1 - ...Cannot change user passwords in SBS 2003
I cannot change passwords for any domain user in SBS "Active Directory
Users and Computers".
The steps are:
3. Go to mydomain.local\MyBusiness\Users\SBSUsers
4. Right click on any user
5. Select "Reset password"
6. I enter the new password and click on OK
7. I get the error:
Windows cannot complete the password change for "username" because: A
device attached to the system is not functioning.
Same thing happens if I go through Server Management\Users.
dcdiag does not give any errors.
I s...Excel XP: File name in Title Bar not changed after Save As...
Situation: I open Excel 2002 (XP), choose a file to open (eg
"myfile.xls") and work in it.
I save a copy via File / Save as. I name it "mynewfile.xls" and click
File correctly saved; the original still exists on disk. The filename
appears correctly in the File menu in the list of recently used files.
But: the information in the Excel's title bar didn't change: it still
displays the filename of the first file.
If I understand Excel well, it saves a copy of the original file to a
new one, and keeps working with the new one. So the new filename
should app...Re: Changing domain password via RPC over HTTP
Do you mean that enabling changing password in OWA (on the RPC proxy server)
is equivalent to enabling changing password via RPC/HTTP?
"Mark Arnold [MVP]" <email@example.com> wrote in message
> On Thu, 14 Oct 2004 16:25:09 +0800, "Shel" <firstname.lastname@example.org>
> >Having a FE RPC/HTTP proxy server, and users connected via HTTP.
> >The Exchange servers are in a Resource domain, and user accounts are in
> >Accounts domain.
> >These a...color tab on spreadsheet
I have a file with 20 tab and names nearly same. So I would like to color the tab. Do you know how to do it
thanks for hel
Is only possible in Excel 2002 and 2003 Ben
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
"Ben.c" <email@example.com> wrote in message news:30C7D4B9-F271-45AF-A618-66680BF33EDE@microsoft.com...
> I have a file with 20 tab and names nearly same. So I would like to color the tab. Do you know how to do it ?
> thanks for help
Only way is to get Office XP (excel 2002)...changing font color in multiple textboxes
I am trying to find out how (if its possible) to change the font color of
multiple textboxes at the same time. I changed my background and now i need
all the textboxes to have white text instead of black. I have over 100
textboxes so going and changing each text box is quite annoying. Any help is
> I am trying to find out how (if its possible) to change the font color of
> multiple textboxes at the same time. I changed my background and now i need
> all the textboxes to have white text instead of black. I have over 100
> textboxe...Result changes cell color
Is there a way to fill a cell with a color depending on the result?
Basically, I want the following:
If cell = 1 Fill cell with Red
If cell = 2 Fill cell with Yellow
If cell = 3 Fill cell with Green
Thanks for any help.
format>conditional format>easy from there
"GSBohn" <firstname.lastname@example.org> wrote in message
> Is there a way to fill a cell with a color depending on the result?
> Basically, I want the following:
> If cell = 1 Fill cell with ...Query formulas (dates in formulas to be changed only once)
I have several queries that contain several hard-coded formulas. If
possible, I would prefer that the formulas be referenced in a control or
setup table. Does that make sense? Instead of going through my queries each
month and updating hardcoded dates, I would like the dates to be changed only
once and have all the formulas reference this source.
It makes sense to do this. How you do it depends on what the formulas are?
For instance if you are just trying to get the data for a prior month, you
can change the formula to get the prior month based on the system ...Right column doesn't change when sorting left column.
When I "sort" data in the left column, data in the right column doesn't
change accordingly. How can that be?
do you have both columns selected when you sort?
> When I "sort" data in the left column, data in the right column doesn't
> change accordingly. How can that be?
If you have columns A and B and select only column A for sorting, only the
data in column A gets sorted. Column B will remain unchanged. You need to
select both columns before sorting.
If this is not the problem you are having, please give us more informati...printing in color paper
Hi, I'm trying to print in blue and red paper but the text always appear
black no matter which font color I choose. Does any one have tried to print
non black font in non white paper?
Thanks a lot for your help
Neither Word nor your printer has any way of knowing what color paper
you are putting into your printer. If you try to print (for instance)
with red ink on green paper, of course it will look black!
On Feb 1, 11:41=A0am, MVR <M...@discussions.microsoft.com> wrote:
> Hi, I'm trying to print in blue and red paper but the text always appear
> black no m...