Weird: CRichEditCtrl scrollbars work in debug build but not in release build

Hi,

I have an App Wizard project (VS 6.0), non doc-view architecture.  My
view class is:  class CRichTextView : public CRichEditCtrl.  In
MainFrm.cpp I have a member variable of:  CRichTextView    m_wndView;.
I create the view as follows:

        if (!m_wndView.Create(WS_CHILD | WS_VISIBLE | ES_AUTOVSCROLL |
                ES_MULTILINE | WS_VSCROLL,
                CRect(0,0,0,0), this, AFX_IDW_PANE_FIRST))
        {
                TRACE0("Failed to create view window\n");
                return -1;
        }

It works "just peachy" in the debug build.  But, when I make a release
build, the vertical scrollbar appears when it should, but the up/down
arrows are disabled and there's no button!  I'm guessing the scrollbar
itself is shown, but disabled.

Why does this fail only in the release build?

Anyone have any insight here?  Geesh, I don't get it.

Thanks much!

Jim

0
7/29/2005 4:30:14 PM
vc.mfc 33608 articles. 0 followers. Follow

0 Replies
492 Views

Similar Articles

[PageSpeed] 23

Reply:

Similar Artilces:

ISINTEG not working
I am running EX2003 sp2. I am trying to use ISINTEG. No matter how i run it I only get the help menu to show up. I have seen several newsgroup articles but none have worked. What should I do? On Wed, 26 Jul 2006 14:37:02 -0700, Brillmike <brillmike@yahoo.com> wrote: >I am running EX2003 sp2. I am trying to use ISINTEG. No matter how i run it I >only get the help menu to show up. I have seen several newsgroup articles but >none have worked. What should I do? What exact command are you using? isinteg -s itlab -test -priv -test alltest i have tried all and any combinatio...

how can I get matching to work? (M06)
All of my accounts sync online After it syncs, how do I match up the payments from my checking account which are credit card payments with the transactions in the various credit card accounts that are those payments? I have read through the help and just keep going in circles. If I change the category for a credit card payment to the credit card account, it just creates a new transaction in the credit card account. It seems to me that there should be a way to get these payments to match up automatically, and if not automatically there definitely should be a way for me to match them up ...

how SIN, COS and TAN works on sql server
I ran this: declare @f float set @f = 30 select sin(@f) and got -0.988031624092862 What is this? "Roy Goldhammer" <royg@yahoo.com> wrote in message news:eRKvnY0#KHA.5476@TK2MSFTNGP06.phx.gbl... > I ran this: > > declare @f float > > set @f = 30 > > select sin(@f) > > and got -0.988031624092862 > > What is this? > > The values for SIN, COS, and TAN are in radians, not degrees. You are seeing the value of SIN(30 radians), which is correct. -- Dan "Dan" <news@worldofspack.com...

Building/Storing a passthrough:How to assign connection string and make passthrough
I know the connection string I wish to apply, and have the SQL ready query, I just don't know how to put it. This stores it as a basic query. What do I do to store it as a passthrough with Cnnect as as the connect string? ========================== Dim Q As QueryDef, DB As Database Dim Selectpiece As String Dim SQLSTRING As String Dim Cnnect as String Cnnect = "ODBC;DSN=pavinbase;" SQLSTRING = "SELECT accounting.post_table, accounting.post_date, accounting.post_process, accounting.post_id " SQLSTRING = SQLSTRING & "FROM ac...

microsoft works #2
why was microsoft works replaced with excel? what are the advantages of using excel rather than works? (i prefer works still!) Hi harami, It wasn't. You can currently purchase Works 7.0. There is also a Works newsgroup. ----- harami wrote: ----- why was microsoft works replaced with excel? what are the advantages of using excel rather than works? (i prefer works still!) ...

OnEnChange formatting text is affecting Undo Redo in CRichEditCtrl
Platform : .NET VC++7.0, Windows XP, MFC Hello, I am using a CRichEditCtrl in my property sheet. I need to set some coloring and formatting to be done in the text to identify certain keywords, which I am handling in the EnChange of the richedit, this works fine with the following code. Now when I implemented Undo Redo functionality for this RichEdit, undo does not seem to undo the last text entered in the rich edit if the EnChange code gets executed. If I comment out the EnChange code, the Undo functionality works fine.(The main culprit seems to be the formatting function of the EnCha...

SMTP queue building up alot
Hi Recently our email messages have been sitting in the queue waiting to be delivered. I have to delete the queue and then run the internet connection wizard to get it up and running again. Emails will send fine for a few days, then the smtp queue starts to build up again. Does anyone have any idea why this is happening so often? Regrads Sean What version of Exchange, and which specific queue? If you look at the messages, are they addressed to valid recipients? -- Ben Winzenz Exchange MVP MessageOne "Sean" <Sean@discussions.microsoft.com> wrote in message news:28A...

Weird Opening Document
Using Windows XP and Office 2007 I just received a Word 2003 document as an email attachment. When I opened the attachment, it launched Word 2003 on my system. Although Office 2003 still resides on my system, I am using Office 2007. I have received 2003 Word documents as email attachments before, and when I open the attachment it always launches Word 2007. Any idea what would cause an email attachment to launch Word 2003 this time??? My guess: Because the file extension was .doc and the default file format in Word 2007 is .docx Daddy "BK" <nosp...

Exchange backup isn't working
Exchange 2003 running on win 2003 standard. About a week ago a defrag was done on the database and the backups were working. Suddenly we started to recieve errors that backups were failing. The errors in Event viewer are NtBackup ID 8001 and 8019. The backup report log says the following: Backup Type: Normal Backup started on 8/31/2005 at 7:57 AM. The 'Microsoft Information Store' returned 'Error returned from an ESE function call (d). ' from a call to 'HrESEBackupRead()' additional data '-'The 'Microsoft Information Store' returned 'Erro...

weird symbol instead of comma in address?
I have Office 2007 and I am using the Publisher with the mail merge to populate the addresses in thank-you cards to be mailed out. The only problem is that the comma between the city and state does not look like a comma but a small right triangle without the hypotenuse. What do I need to do for the comma to appear correctly in the address? Are you using a decorative font? I can't duplicate your issue. Is the comma in the city field or are you manually adding it? Personally I don't use the comma any longer. -- Mary Sauer http://msauer.mvps.org/ "Susan" <dsnsac...

2003 Deluxe
I've been wondering as I have read about notices of expiration. My MS Money 2003 deluxe still downloads from my banks and sends payments through my banks. Yes, it doesn't work with Vanguard, but I can live with that, it=92s a rollover IRA; I'm not a day trader. I thought it was supposed to break within 2 or 3 years of its release. Is it that in 2 to 3 years MS requests banking institutions to stop working with the software, or is that just a statement of "no support" from MS corp to encourage biennial purchases? Thanks. <scream151@gmail.com> wrote in message ...

Adding comments to Work orders
Hi, Can you add comments to work orders? -- Reynold Cycle You can a single line/short comment to Work Orders using SHIFT-F9 (Details) -- Jeremy Janisch "Jose" wrote: > Hi, Can you add comments to work orders? > -- > Reynold Cycle Thank You Jeremy. -- Reynold Cycle "Jeremy Janisch" wrote: > You can a single line/short comment to Work Orders using SHIFT-F9 (Details) > > -- > Jeremy Janisch > > > "Jose" wrote: > > > Hi, Can you add comments to work orders? > > -- > > Reynold Cycle ...

dcount of date range in report not working
I'm so confused :( what did i do wrong here? I am trying to count questions that have been answered for a audit's date range. I want to know the total of questions that have question 4a=1 as its answer and where 4b has '2' as its answer, from a certain hospital and where the audit date is a date range that the user inputs. this is what i have and it gives me #Error =DCount("[4a]","DATABASE","[4a]='1' and [4b]='1' And [Hospital] = 'sngh' And [auditdate] = Between " & [Beginning Date] & " and " & ...

Working with excel on the web
I am looking for a possible solution or bump in the right direction when working with excel on the web. Currently I am using and developing in visual studio 2005. Here is the situation I have a lot of spreadsheets with macros that I would like to deliver to people via a web application.... Some problems that I am running into are: 1) macros do not work when embedding the excel sheet in the browser. 2) Trying to figure out charting and graphing.. Sorry I am still a bit new to all this and am looking for some advice.... Thanks jeremy.bird@gmail.com wrote: > I am looking for a possible so...

WEIRD FOLDER
I have a weird folder under Local Disk/users/myname called: {bd85e97f-d63c-40fc-8915-0b1859d829e3} Is this folder needed? If not can I delete it? Thanks Paul "PAUL" <pkoukos@earthlink.net> wrote in message news:992BA7CD-6A82-46CD-9876-B7F69E8401D3@microsoft.com... > I have a weird folder under Local Disk/users/myname called: > {bd85e97f-d63c-40fc-8915-0b1859d829e3} > > Is this folder needed? If not can I delete it? > > Thanks > > Paul It's most likely a temp folder used by installing of some program. It should b...

Junk mail filter options *not* working
Scenario: Running Outlook 2003 with latests updates on XP/Pro SP2 with latest updates on my laptop. I've properly configured my POP3 account from my own server running Windows 2003 and then turned on Junk Mail filter to High. Everything goes to my inbox. I've bounced between High, Low and Safe lists. I've got all the country domains and encodings selected and still nothing goes to my junk mail. The only thing different on my laptop than on my desktop (which works fine) is that I've checked the advanced settings "Leave a copy on my server". Are there any known ...

Issues with YE update and build 10.00.1400
I recently updated a client from version 9 to 10 and applied service pack 4 that includes the 2009 year end update. Everything is fine except they are unable to run a gl trial balance. They get an IDENTITY error. I have run maintenance and deleted the gl10110 and gl10111 and recreated them, all to no avail. I did ask this question before and was told this wasn't the latest build, if not, what is? I have tested this on my install and I don't get an IDENTITY error when I run the t/b but I do get a Smartheap MEM_BAD_POINTER error and it shuts down GP. Now I'm...

LAN not working
I have two PC's, both running windows XP Professional. After I setup the LAN connection on the second PC, restart, and then check "Start" and look for "My Network Places" it is not there. It is there on the first PC. I have re-setup this LAN 7 times now but I cannot get the second PC to recognize the first PC. Any help would surely be appreciated. -- JungleJim74 In news:097B9493-AF46-4D22-BF82-C8EE2E9410A4@microsoft.com, JungleJim74 <jimrichards74@att.net(donotspam)> typed: > I have two PC's, both running windows XP Professional. After I s...

Weird scrolling problem with folders
I am having a really weird problem with my storage folders and scrolling to the bottom folder in the list. At the bottom of my email account list ( I have 15 email accounts, mostly imap), I have Outbox and underneath it Storage folders. I have a dozen or so folders in storage folders. When I expand storage folders and try to scroll down to the last item and click on it, the list will jump up , it will frequently jump back up a couple of items, and I can't see the bottom of the list. Does anyone have a bunch of folders in Storage folders, and does this happen to you? YOu have ...

Attach a file to email from w/in the file, signature doesn't work
When in another file and want to attach it to an email, I go to the Send \ Email option within the file. When the Outlook message window comes up, the message is attached and normal but the signature isn't there. Is there a way to have the signature always there no matter how I start the email? No, that is because the Send To command uses SimpleMAPI which only has a reduced functionality set. For details about which other features are missing see; http://www.msoutlook.info/question/203 You can choose to insert your Signature manually though. If you are sending from within...

Help: Working With Lists
I would appreciate some help, I have a list of data that consists of text. 2 columns wide, x number of rows down. I would like to copy this list to another sheet, but so the data is visible across 1 A4 sheet High, by X number of A4 sheets in width. ( as many needed to display the data ) I have tried copying this list to another sheet by setting up the print area and pasting to the selected cells, but everytime the list stays in the original format and continues down out of the print area, in the first 2 columns. Many thanks I may not be following you exactly but it sounds as if you migh...

Conditional formatting not quite working right
I have a form that is generated by a query. The query is populated via table. I want all values in the report that are over 1.99% to show up as red. Those values at 1.99% and lower should show up as green. IOW, percent values from 0 to 1.99% are good values and show green. Anything at 2% and over is bad, and should show up as red. I've created conditinal formatting in several different ways, using the options available under conditional formatting. It seems that no matter what I select, greater than, equal to, etc, all the values change to whatever the cond format is suppos...

Attach Link does not work if file name has changed
I used MS Money Plus Home and Business. I keep scanned copy of Invoices in one folder. I link them to MS Money. After linking the item in MS money to the file, a link icon appears in MS money. When I change the name of the scanned file, the link does not work any longer. There is no way of knowing whether the item (that still has a link icon) has a valid link or not (because the scanned file name changed)? Rajesh Sorry - the question was "Is there a way of knowing whether the item (that still has a link icon) has a valid link or not (because the scanned file name changed)?" ...

VBA to assign category on calendar item does not work ?? why ??
Below i wrote code to assign a categorie to a calendar item based on the word "vrij" in the subject. I got to automate a lot of words for a lot of people so this just the first keyword. I think this code should work.. but somehow it doesnt I use Outlook 2003 with macro security set to lowest level. The code is placed in "this outlook session" Any ideas why it doesnt work ?? > ==================================================== Dim WithEvents colRDVItems As Items Private Sub Application_Startup() Dim NS As Outlook.NameSpace Set NS = Application.GetNamespace(&quo...

Make Blanket PO work properly
This is a "Bad" design: You can receive against PO releases flaw that have not been released. Of what value or purpose does the system have for the release or non release of PO?? A PO is a legal document, a PO Release is the legal document for a Blanket PO...the Blanket PO can not even be printed! This "Bad" design removes all needed control on the receipt process and makes a mokery of the PO Controls. If a Blanket PO has only has partial release(s) and that release(s) is received the whole Blanket PO is closed...even tho there are remaining quantitities on the ...