Microsoft KB Archive/122719

-

The information in this article applies to:


 * FastTips for Microsoft Visual Basic for Windows, version 3.0

-

INSTRUCTION
Microsoft FastTips is available 24 hours a day, 7 days a week, from a touch-tone telephone. To order items from this catalog, first select the items you want to receive, noting the five- to six-digit number of the Item ID shown below for each item, and then:


 * Dial the toll-free FastTips number (800) 936-4300.
 * When prompted, select Microsoft Visual Basic.
 * Press one (1) on your phone keypad to select Express Order Service.
 * When prompted, select the delivery method, fax.
 * When prompted, enter your three-digit area code and seven-digit fax number on your phone keypad.
 * When prompted, enter the number of the Item ID and press #, for up to five items.

When finished, simply hang up. If you have problems receiving a fax, please call (425) 635-3199.

ARTICLE LISTING
ITEM ID ARTICLE TITLE                                               PAGES -- Q 69792 How to Trap VB Form Lost Focus with GetActiveWindow API         2 Q 71068 How to Create Scrollable Viewports in Visual Basic              3 Q 71101 Why Output Might Not Display from VB Form_Load Procedure        2 Q 71488 How to Create Rubber-Band Lines/Boxes in Visual Basic           3 Q 72679 FIX: VB Debug.Print in MouseMove Event Causes MouseMove Event   2

Q 73371 How to Scroll VB Text Box Programmatically and Specify Lines    4 Q 73809 FIX: Pull-Down on Drive Box Disabled When Change Width of Box   1 Q 73839 BUG: Scroll Box Flashing Not Updated If Bar Resized w/ Focus    2 Q 74132 BUG: [ Character May Sort Incorrectly in List or Combo Box      2 Q 74517 FIX: Overflow Error If Print Long String to Form or Printer     1

Q 74905 PRB: Access Key Causes Different Event Order than Mouse Click   2 Q 74906 PRB: Carriage Return Won't Wrap Lines in Text Box Control       2 Q 75856 Program Example for COM Port Support in Visual Basic            2 Q 76520 BUG: No Option Button Active (Dotted) in Frame                  2 Q 76555 BUG: Italic and Large Fonts Display Poorly in Text Boxes        2

Q 76628 BUG: Dir List Box Does Not Give Error 68 Device Unavailable     2 Q 76629 PRB: VB Form_Load Procedure Not Executed when Unload Not Used   2 Q 76635 PRB: Long String Assigned to Multiline Text Box Seems to Hang   1 Q 77737 PRB: DEL Key Behavior Depends on Text Box MultiLine Property    1 Q 77738 BUG: Extra Click Event If Double-Click When Mouse Button Down   2

Q 78073 PRB: Clipboard.SetData Gives Invalid Format Message with Icon   1 Q 78305 How to Disable the ENTER Key BEEP in a VB Text Box              1 Q 78335 Scope of Line Labels/Numbers in Visual Basic for Windows        1 Q 78478 How to Make a Push Button with a Bitmap in Visual Basic         2 Q 78599 How to Generate Events Automatically at Predefined Intervals    1

Q 78892 BUG: Multiline Text Box Contents Not Gray When Enabled=False    1 Q 79029 How to Create Nested Control Arrays in Visual Basic             6 Q 79030 FIX: Visual Basic List Box Won't Open if Resized at Run Time    2 Q 79241 BUG: Resetting ListIndex Property Generates Click Event         2 Q 79242 BUG: Some Property Values May Be Incorrect in Maximized Form    2

Q 79597 PRB:Parameter Mismatch Error When Pass Properties by Reference  2 Q 79599 PRB: Double-Clicking Control Box Causes MouseUp Event in VB     1 Q 79601 How to Place Animated Graphics on a Minimized Form in VB        2 Q 79602 BUG: Option Button w/ Focus Selected When Click Form Caption    1 Q 79603 FIX: SendKeys Causes Erratic Mouse Behavior on IBM PS/2         1

Q 79604 How to Convert Units to Pixels for DrawWidth in VB              3 Q 79884 How to Move Controls Between Forms in VB for Windows            4 Q 80023 BUG: Click Event May Fail to Occur in Cascading Menu            2 Q 80187 How to Drop Item into Specified Location in VB List Box         2 Q 80286 BUG: TAB Character Can Incorrectly Cause KeyUp/KeyDown Events   2

Q 80287 PRB: Form Global (Static) Data Is Preserved After Form Unload   3 Q 80406 How to Rotate a Bitmap in VB for Windows                        2 Q 80488 How to Clear VB Picture Property at Run Time Using LoadPicture  1 Q 80867 How to Print Multiline Text Box Using Windows API Functions     3 Q 80934 Common Dialog Custom Control: FilterIndex Can Be Negative       1

Q 80935 Common Dialog Control: Pipe (|) Optional in Filter Property     1 Q 81220 How to Use More than One Type of Font in Picture Box            2 Q 81466 Visual Basic SendKeys Statement Is Case Sensitive               1 Q 81469 Task List Switch to VB Application Fails After ALT+F4 Close     1 Q 81953 Overflow Error Plotting Points Far Outside Bounds of Control    3

Q 81955 BUG: Scroll Control: UAE/GPF If Drag Method in GotFocus Event   2 Q 84056 'Text' Property is Read-Only Error as Set Combo Box Text Prop   1 Q 84474 How to Close VB Combo Box with ENTER key                        2 Q 85109 How to Edit Grid Cells in VB Using Overlapped Text Box          3 Q 85562 How to Make ENTER Key Move Focus Like TAB Key for VB Controls   1

Q 85856 PRB: GotFocus Event Fails If MsgBox Invoked in LostFocus Event  3 Q 85990 PRB: Can TAB in Error if Value of Option Button Set to False    2 Q 85991 How to Programmatically Display or Hide a VB Combo Box List     2 Q 86279 PRB: ChDir or ChDrive Won't Change File / Directory List Boxes  1 Q 86283 Visual Basic Can Load RLE4 and RLE8 Bitmap Format Files         1

Q 86688 Example to Evaluate Basic Numeric Expressions                   5 Q 86772 How to Right Justify Top-Level Menus in Visual Basic            2 Q 87767 BUG: Generic / Text Only Printer Driver Prints 66 Lines         2 Q 87770 Unable to Display Uppercase W in Small Text Box                 1 Q 87773 PRB: SendKeys May Return Illegal Function Call Error            2

Q 88477 PRB: SetFocus During Form Load May Cause Illegal Function Call  1 Q 88792 PRB: Click Event Invoked When Option Button Receives Focus      2 Q 88910 How to Determine Which Option Button is Selected in VB          2 Q 88912 How to Make a Spreadsheet-Style Grid that Allows Editing        3 Q 89219 PRB: DropDown Combo Box May Display Partial String              2

Q 93214 Name Property Cannot Be Set When Using Implicit Property        2 Q 93215 Making Enter Key in Directory List Box Act Like Double-Click    1 Q 93233 FIX: GP Fault or UAE When Unload Form in DragOver Event         1 Q 93424 FIX: UAE/GPF When VB Control Name Identical to Property Name    1 Q 94293 FIX: Painting Problems When FontItalic Set True for Text Box    2

Q 94318 How to Change the Size of the Text Cursor in a Text Box         2 Q 94698 FIX: No Out of Memory Error Generated with Text Box > 32K       1 Q 94774 FIX: GPF When Using 8514 Driver with Long String in Text Box    1 Q 94936 Explanation of the Control Box Menu                             1 Q 95197 BUG: Stack Fault When Move Sets Tiny Width in 2-Item Combo Box  1

Q 95498 FIX: Problems Calling DoEvents from a Scroll Bar Change Event   2 Q 95509 FIX: Text Box/Mask Edit in Select Mode If MsgBox in LostFocus   1 Q 96097 FIX: Resizing MDIForm with UI Does Not Update Height & Width    3 Q 96210 How to Emulate Overtype Mode in a Visual Basic Text Box         3 Q 96846 Validating Text Box Data Causes Extra LostFocus Events          2

Q 97135 FIX: No Menu Event with Maximized MDI Child                     2 Q 97620 How to Use the Forms Collection to Unload All MDI Child Forms   2 Q 99688 How to Trap Keystrokes in the Form Instead of Form's Controls   2 Q 99811 Non-Menu Keys Disabled When Menu Pulled Down                    2 Q 99872 BUG: Wrong Menu Click Event After Hiding Menu                   3

Q 99875 If Invoked by Access Key, Click Event Handled Before LostFocus  1 Q 100190 BUG: Overflow Error When CurrentX Or CurrentY Greater Than 32K 2 Q 100192 BUG: Out of Memory Error on Show Next from Debug Menu          1 Q 100367 BUG: Referencing Data Object Gives Error: Object not an Array  2 Q 100413 Using UP ARROW and DOWN ARROW Keys to Move the Focus           2

Q 100611 FIX: VB 2.0 Prof Demo Causes Error: Invalid File Format        1 Q 101252 PRB: Can't Use ActiveForm to Reference Data Control in VB 3.0  2 Q 101261 UPD: Invalid file format Error When Run VB app's EXE File      3 Q 101380 BUG: ALT+MINUS SIGN Does Not Work with Maximized MDI Forms     1 Q 102480 How to Prevent Multiple Instances of a VB Application          2

Q 103062 How to Move Controls at Run Time By Using Drag and Drop        2 Q 103115 PRB: Invalid picture Error When Try to Bind Picture Control    5 Q 103461 PRB: Out of Stack Space When One Modal Form Shows Another      2 Q 103809 How to Program Two List Boxes to Scroll Together               2 Q 106164 Adjusting VB FontSize at Run Time for Different Video Drivers  3

Q 108470 PRB: PrintForm Blank Page or GPF Due to Video Color Depth >256 1 Q 108602 PRB: Problem Changing Control's Picture to (None) in VB 3.0    2 Q 108811 How to Display Multiple Foreground Text Colors in VB List Box  2 Q 108812 BackColor Erases Existing Graphics on Form or Picture Control  2 Q 109801 PRB: MDI Child Form Painted Twice When Moved Before Loaded     2

Q 109865 How to Distinguish a DblClick from a Click Event               2 Q 110394 How to Automatically Select or Highlight Text Box Upon Focus   2 Q 110589 How to Start a Visual Basic Screen Saver Using SendMessage API 1 Q 110957 Selected Prop of List Box Can Cause Click Event & Out of Stack 2 Q 110958 How to Right Justify Items in List Box w/ Tabs & SendMessage   2

Q 111952 How to Right Justify/Center Text in Single-Line Text Control   1 Q 112675 PRB: How to Prevent Flicker in the Repaint of a Label          2 Q 113328 PRB: Form KeyDown Displays Inconsistent Behavior               2 Q 113329 How to Set Automatic Scrolling On In a List Box In VB 3.0      3 Q 113686 BUG: Lost MouseDown Event with Command Button & Check Box      1

Q 113904 How to Move a Control Across a Form at Run Time                2 Q 114594 How to Create a Floating Toolbar in Visual Basic               10 Q 116058 BUG: Incorrect Popup Menu Events Fired with Invisible Menus    2 Q 118645 How to Call Event Procs. w/No Param. from VB Form              2 Q 120523 BUG: Multiline Text Box Incorrectly Displays Large Text        3

Q 121096 BUG: Wrong Menu with Maximized MDI Child and No Control Box    2 Q 124057 How to Force a DropDown and Retract of the List in a Combo Box 2 Q 124058 How to Detect the Retraction of a Combo Box Dropdown List      2 Q 126675 BUG: Menu Lost if Caption Changed on Menu with Only WindowList 2 Q 135651 PRB: Label Grows Wider When AutoSize and WordWrap Are True     2

Q 136529 BUG: MDI Child Form Is Drawn Without Title in Certain Cases    2 Q 137033 How to Suppress Maximize & Minimize Buttons on MDI Parent Form 2 Q 137036 BUG: Errors with Duplicate Keys and Modal/Modeless Forms       2 Q 138523 PRB: MDI Child Form Drawn Incorrectly with Missing Title Bar   2 Q 138524 Incorrect ListIndex when Multiselect Set to 1 or 2             1

Q 138528 PRB: GotFocus Occurs Before Click Event When Option Selected   2 Q 138801 How to Adjust FontSize at Run Time for Different Video Drivers 2

End of listing. Additional query words: DSKBGuide 3.00 kblist kbtlc vb3only

Keywords         : kbref Version          : 3.00 Platform         : WINDOWS Issue type       : Last Reviewed: May 20, 1999