Toolbar resizing error

I have a project built in MFC using Visual c++ 6.0. The main window
contains a rebar with 2 CToolbar bands created like so:
m_wndToolBar.CreateEx(this, TBSTYLE_TRANSPARENT | TBSTYLE_FLAT);

For *some* reason, if you rclick on the windows desktop and select
properties, change nothing and click ok, the toolbar buttons increase
in size from the standard 16X15 to 22X21. I am never changing the size
of the bars anywhere in my own code nor am I using a derived toolbar
class.

Does anyone have a clue what might cause this or at the very least can
point out what messages would be sent when the display properties
dialog is closed (via the ok button)? This one has me completely
stumped...

0
dlsleeman (1)
12/6/2005 2:04:45 AM
vc.mfc 33608 articles. 0 followers. Follow

0 Replies
645 Views

Similar Articles

[PageSpeed] 34

Reply:

Similar Artilces:

Error: The query cannot be completed
My Access2007 db contains 3 tables with a total of just under 5 million records TBL1: 2,631,933 TBL2: 1,168,989 TBL3: 1,159,542 TOTAL: 4,960,464 All tables are identical, with 10 fields each. The db size is 862MB. I'm running WinXPpro with 20gb free space. When I try to run a Union query to combine the 3 tables in a recordset, I receive the following error: "The query cannot be completed. Either the size of the query result is larger than the maximum size of a database (2GB), or there is not enough temporary storage space on the disk to store the query resul...

Rules Error #4
Using Outlook 2002 with Exchange 2000 and one of the users receives the following error each time he opens Outlook: "Rules in Error - Server Requested Client Action - Movecopy, Unable to create dest message" This message appears to mean that there is an invalid rule setup but I have deleted all rules in Outlook and still receive this message??? ...

Toolbar Macros
I posted this in the Programming newsgroup, but was given a Macro solution to this problem. So let me post again here. I'm just looking for an explanation as to how this stuff works. ----------------------------- I'm so confused!!! Some history... I have a workbook that I created maybe eight years ago, that has some simple macros that are run ONLY from this workbook, and are accessed by clicking on Tools menu, where the macros are listed at the bottom of the normal list. This macros (and the items on the Tools menu) are ONLY available for this particular workbook. I have tried ...

Pasting Error
Hello, I have been using the same MSP file for years to track jobs within our company. Recently I get an error when I try to copy and paste a task. It says: "A pasting error occureed on ID X in the column This is not a valid duration, or it is outside the range for this field Type a duration in the correct format: for example, 4 hours (or4h), 12 days (12d) or 2ed for elapsed days." I don't think I have changed anything but there was somebody else using it for a little while. What do you think this is and how can I sort it. Thanks, Ellen So what did y...

runtime error after installing outlook 2000
after installing office 2000 premium, i get runtime error and it closes out. I can click back on and it usually works fine. what do i do to get rid of this error message. ...

Outlook connect to Exchange get name resolved error
Hi. Im using Microsoft Server 2003, I have created a new user and mail box and when i try to setup the email on the client computer i receive the error msg, "The name could not be resolved. The name could not be matched to a name in the address list. " I have had a look around the users profile and i notice that they are not listed in the Global Address List. As far as i can tell when i run through the wizard and create a new user a mailbox has been created. Any ideas, pls help Thanks. Albert In news:Ot1VlDR0GHA.4392@TK2MSFTNGP04.phx.gbl, Albert Wang <albert_z...

Error code: 0x80244017
Dear All, we have a win 2003 sp1 machine and we got this code [Error number: 0x80244017] when we try to update windows from windowsupdate.microsoft.com web site. Any one of you could give me an help? Regards Alberto Brivio Alberto Obviously you will get that error code . Why is SP2 not installed ? Install SP2 and solve the issue at hand -- Peter Please Reply to Newsgroup for the benefit of others Requests for assistance by email can not and will not...

Error in Outlook 2000 / 2003
Hello: I am getting this error with 2000 / 2003 Outlook clients using an Exchange 2000 Server: Task 'Microsoft Exchange Server' reported error (0x8004010F) : 'The operation failed. An object could not be found.' I found a tech note about it being the Offline Address Book on the Exchange side, however I can't seem to find the fix. Anyone have the answer? Thanks in Advance David Try reselecting your offline address book server in its properties within the ESM, and perhaps within the priv mailbox database properties as well. -- David Wyatt MCSE, MCSA 2000/2003 Mes...

Can't remove "Visual Basic" toolbar & cannot add toolbars thru cus
Hi, I Can't remove the "Visual Basic" toolbar which has positioned itself right in the centre of the screen; it can't be removed or moved I also cannot add toolbars through the customise menu. Thanks. ...

Enlarge QAT (Quick Action Toolbar) icons
I've looked for a way (& through this forum) to enlarge the icons in 'my' QAT, but this does not appear to be possible. Am I overlooking some tweak that can do this or is the size of those icons really fixed? Thanks in advance for your comments. To get bigger icons, I believe you will have to change the screen resolution in Windows. -- Stefan Blom Microsoft Word MVP "PLDV" <PLDV@discussions.microsoft.com> wrote in message news:63C6AAD4-5308-4183-B227-BFED12196793@microsoft.com... > I've looked for a way (& through this forum...

ToolBar
Hi, I would like to have text on right on my toolbar. But only at some items. Like IE. I tryed it, but I had the space for text on the right at all items. And the space was long as the longest lext. Can U advise me, where I can find how to do this? Thanks a lot. Robert Have you looked at example MFCIE in MSDN which shows how to use MFC to create IE. I think what you need is individual sizing of each of the buttons. This sample should show it. -- Ajay Kalra [MVP - VC++] ajaykalra@yahoo.com "Robert Camsky" <robertcamsky@atlas.cz> wrote in message news:OKuWLdf6DHA.226...

Windows Mail data base error
I have windows mail and yesterday the computer crashed When I restarted it I had some recovered messages and a new set of folders. I have my emails divided in multiple folders and subfolders But after restorer the emails in some folders the email headers are fine, but all emails that are inside that folder has the same content, in short repeats the same mail But otherwise things were working ok. Compact the Windows Mail database: Go to Tools, Options, Advanced, Maintenance, then check the box for "Compact the database on shutdown every X runs". Change the X num...

Remove a third party (PDF) toolbar item from Outlook's Untitled message toolbar
How does one remove a third party (Adobe PDF) toolbar item from Outlook's Untitled message toolbar permanently. Where is this info stored? sounds like you have Adobe Acrobat installed. Why not simply un-install it. Hope this is useful to you. Let us know. rms SBCM wrote: > How does one remove a third party (Adobe PDF) toolbar item > from Outlook's Untitled message toolbar permanently. > Where is this info stored? ...

Error connecting Money 2004 to Moneycentral
I've been using Money for a number of years and using online bill pay through MSN. Today I have not been able to send bill payments or synchronize with MSN Money. I'm getting an error message "Money cannot confirm your Microsoft passport. Your data is not being synchronized with MSN Money on the Web. When I try to send a bill payment I get a message that states " the following transactions failed because the provider encountered an error. Check your login credentials and try again. I can access my account directly at moneycentral without a problem. In case it mat...

drawing frame while resizing
hi while resizing a dialog I want to only resize the frame when the user is resizing. Once the resizing is done I want to move the controls accordingly. WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE are the messages sent before and after resizing, but how do I draw the frame only while the resizing is on. can you send me some sample code.. I am handling WM_SIZING, but dont know what to do exactly. "Yasoo" <Yasoo@discussions.microsoft.com> wrote in message news:D24E72E8-FAF4-446A-8C78-957CC64B3202@microsoft.com... > I don't know for sure, but what about overriding the OnSizing...

Error when clicking on 'Items' in GP 10
I'm in the process of testing a GP 10 conversion, and if I click on the 'Items' option in the 'Inventory' category on the Navigation Pane, the following error is displayed: [Microsoft][SQL Native Client][SQL Server]Cannot insert the value NULL into column 'BASEUOFM', table 'tempdb.dbo.##0015859'; column does not allow nulls. INSERT fails. Has anyone seen this before? -- Bud Cool Microsoft Certified Business Management Solutions Specialist, GP 9.0 Financials Currently supporting: GP 9.0, SP2 Yes, someone else posted this same (or very similar) quest...

error message #74
Outlook closes when trying to down load emails, the message says Outlook has encounted an error and needs to close, how can I fix this The answer may depend upon the kind of sever you are tyring to access...POP3, Exchange, etc. The obvious is to go to Help, then Detect and Repair... and run to wizard to see if it finds any problems. You may need to uninstall/re-install >-----Original Message----- >Outlook closes when trying to down load emails, the >message says Outlook has encounted an error and needs to >close, how can I fix this >. > ...

Drawing from Toolbar Crashes Excel 2008
Version: 2008 Operating System: Mac OS X 10.5 (Leopard) Processor: Intel I am trying to view &quot;Drawing Toolbar&quot; for Excel. When I go to View, Toolbars, Drawing, Excel 2008 becomes totally unresponsive and I have to kill the application. I simply cannot view this tool. <br><br>Has anybody experienced a similar problem? If yes, how do I overcome this issue? <br><br>Thanks! While Excel is not running go to: UserName/Library/Preferences/Microsoft/Office 2008 Delete the Excel Toolbars (12) file, then launch Excel. HTH |:>) Bob Jones ...

.net runtime optimization service error in event viewer
Hi all, After installation of SQL SERVER 2008 R2 on windows server r2 standart editon , in event viewer i saw ".NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed to compile: C:\Program Files (x86)\Microsoft SQL Server \100\Tools\Binn\VSShell\Common7\Tools\VDT\DataProjects.dll . Error code = 0x8007000b " and ".NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed to compile: C:\Program Files (x86)\Microsoft SQL Server \100\Tools\Binn\VSShell\Common7\Tools\VDT\DataDesigners.dll . Error code = 0x8007000b "...

CRM 1.1 client installation error
When I try to install the CRM client and it asks for the URL address of the CRM server, http://CRM it returns an error that it can't find the server components or something like that? Any ideas how to get passed this? Other users can login fine and I can login using http://crm from a Internet Explorer Thx. Have you tried the ip address of the server instead?? Can that machine ping the server ok?? Hope that helps Ben I tried that, but got the same result. I tried to install on another machine, and I get past this, so it must be something with this person's system. &quo...

error alert for invalid date
hi I want excel showes error alert if user enters invalid dates like "2010/2/29"... I can not creat it on data validation. Select the range..Say F1:F10 From Data>Validation> --From Validation Criteria>Select 'Date' and mention the start date and end date.. --From Validation Criteria>Select 'Custom' and mention the below formula.. =DAY(F1) -- Jacob (MVP - Excel) "nader" wrote: > hi > I want excel showes error alert if user enters invalid dates like > "2010/2/29"... > I can not creat it on ...

Multiplication Error
I am trying to compute an ending sales price after several discount have been applied. We have a retail price that is discounted multipl times depending on the type of customer we are dealing with. For example: Retail Price = $2.95 Dealer Discount = 50% then 10% then 5% Dealer Price = $1.26 The sum of the first discount is then multiplied by the next discount and so on. What formula can I use to compute the following? 2.95 * .50=1.48 1.48*.10=.15 1.48-.15=1.33 1.33*.05=.07 1.33-.07=1.2 -- Message posted from http://www.ExcelForum.com Hi =round((A1*0.5)*0.9*0.95,2) where A1 contains th...

MSCRM 4.0 ISV Custom buttons not visible in Contact Detail Toolbar
Hello, After enabline isv integration in 4.0, I can see in the Accounts detail level toolbar the sample isv buttons, but when I goto Contacts detail toolbar, none are visible. I just added a button to the detail level toolbar in CRM 4.0. It was added basically to the same place as my old 3.0 in the isv.config, but after adding it wasn't visible. I then went to the ReadyServer image from Microsoft, and noticed that the isv.config was not present! (isv.xsd was present and accounted for). Since I could see the isv buttons in the account entity detail toolbar, I added my custom butto...

Tasks error message Outlook 98
I need some help. In Outlook 98, running on Windows XP SP1 I cannot make a new task. I get an error message."Could not complete the task. one or more parameters are invalid". All parameters are filled out. I have Office 97 and Outlook 98. I uninstalled and reinstalled Outlook. thank you... Fern ...

i am receiving error while downloading my emails but i can send #2
hello everyone, I have a question for you. I am not able to receive emials from our email server.but i can send the email successfully. Any i dea.? i am stuck here. Thanks for yr help. Thanks, Bharat. ...