home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / Java++ / SHAREDIDE / BIN / IDE / VJTOOLS.TIP < prev   
Text File  |  1997-01-09  |  14KB  |  118 lines

  1. ; Microsoft Visual J++
  2. ; Tip of the Day
  3. ; Copyright(c) 1996-97 Microsoft Corp. All rights reserved.
  4. ; Development Tools (VJTools.tip)
  5. ; -- Categories --
  6. twl=Microsoft Developer Tools
  7. txt=Editing and Navigating Text
  8. wks=Using Workspaces and Projects
  9. res=Using the Resource Editors
  10. bld=Building Applications
  11. dbg=Debugging
  12. brw=Browsing
  13. all=All Tips
  14. dev=Microsoft Developer
  15. hlp=Using the Information System
  16. shp=Advice on Shipping Software
  17. ; -- Tips --
  18. #priority 80
  19. all,Welcome to Visual J++ 1.1 !\n\nVisit the Visual J++ web page at http://www.microsoft.com/visualj for product information, updates and other cool stuff!
  20. #priority -
  21. all,You can debug applets within the Internet Explorer 3.0 browser.\n\nFrom the Project menu, select Settings and choose the Debug tab. Set the Category to General and select Debug/Execute project under: Browser.
  22. all,You can debug applications using Jview.exe.\n\nFrom the Project menu, select Settings and choose the Debug tab. Set the Category to General and select Debug/Execute project under: Stand-alone interpreter.
  23. all,You can create a simple Java applet using the Java Applet Wizard. From the File menu, select New and choose the Projects tab. Select Java Applet Wizard, enter a name for your project and select the OK button to start the applet wizard.  
  24. all,It's easy to turn a .java file into a Visual J++ project.\n\nJust load the .java file without a project workspace and build the file. A default workspace will be created for you!
  25. all,You can convert your Visual C++ dialogs and menus directly to Java code.\n\nUse the Java Resource Wizard, found on the Tools menu.
  26. all,You can use custom tools on non-Java files in your project.\n\nFrom the Project menu, choose Settings. Select your file in the left-hand pane and click on the Custom Build tab.
  27. dev,You can add buttons to any toolbar. From the Tools menu, choose Customize. Select the Commands tab. Drag any button or command onto a toolbar. If you drop the button or command outside an existing toolbar, a custom toolbar is automatically created.
  28. dev,You can hide all screen elements to see more information. From the View menu, choose Full Screen. To restore the screen, click the Full Screen button or press Esc.
  29. hlp,You can define an InfoViewer subset to display a smaller set of books in the InfoView pane, to narrow the scope of a query, or to narrow the scope of an F1 search in a source file. \n\nTo set the default subset for the InfoView pane, Search Query, or F1 source-file search, choose the Define Subsets command on the Help menu.
  30. dev,You can resize the drop-down edit control on a toolbar. From the Tools menu, choose Customize and select the Toolbars tab. Click the control on the toolbar to display the selection box and then drag the right edge.
  31. hlp,Pressing F1 displays help for the keyword at the cursor in a source window or the Output window. \n\nWhen you select text and then press F1, InfoViewer displays help for the selected text. You can select a word by double-clicking it.
  32. dev,You can move a toolbar button by holding down Alt and dragging it to a new position. You can drag it to a different toolbar or remove it by dragging it off the toolbar.
  33. hlp,When you click a hotlink in an InfoViewer topic, you go to a related topic. To return to the previous topic, press {InfoViewerBack}.
  34. dev,You can get help on any dialog box or error message. Click the Help button in the dialog or message box or press F1.
  35. dev,Many useful commands are accessible only from toolbar buttons. To discover the available toolbar buttons, choose the Commands tab on the Customize dialog box. To add a toolbar button to an open toolbar, drag the toolbar button from the tab to the toolbar. Dropping the toolbar button outside an existing toolbar creates a custom toolbar. 
  36. hlp,When using InfoViewer, you can query for a search string in text or a search string "just in titles." Querying for a search string with the Search Titles Only option is a good technique to find a topic your have visited before.
  37. dev,To close and save multiple source files, you can choose the Windows command on the Window menu.
  38. dev,You can display multiple toolbars. From the Tools menu, choose Customize and then select the Toolbars tab. You can select the toolbars you want.
  39. dev,You can undock a dockable window by double-clicking its border. To see a list of dockable windows, choose the Workspace tab on the Options dialog box.
  40. dev,You can cycle through panes in some tabbed windows by pressing Ctrl+PageUp or Ctrl+PageDown. You can cycle through tabs in a tabbed dialog by pressing Ctrl+Tab or Ctrl+Shift+Tab.
  41. hlp,You can choose the Keyboard Map command on the Help menu to see the current keyboard shortcuts. The keyboard list is updated when you make a change to a shortcut assignment. Change assignments from the Customize command on the Tools menu. 
  42. hlp, You can use your own WinHelp files to provide F1 help in source files. For information, see Microsoft Developer Studio Extension Help (EXTHELP.HLP) in the product \Help subdirectory.
  43. dev,You can display a pop-up menu by clicking the right mouse button in a window. The pop-up menu contains commands specific to the window where you clicked.
  44. dev,You can move the insertion point to the previous word by pressing {WordLeft}. To move to the next word, press {WordRight}.
  45. dev,You can scroll text up one screen by pressing {PageUp}. Pressing {PageDown} scrolls text down one screen. 
  46. dev,You can close a dialog box by pressing Esc.
  47. hlp,Pressing F1 on a keyword in a source file displays help for that keyword.
  48. dev,When editing, you can move selected items by dragging. To copy the selection, hold down Ctrl as you drag.
  49. dev, {WindowDockingView} toggles a docking window's docked state.
  50. dev,You can see all of the standard and custom keyboard bindings by choosing the Keyboard Map command on the Help menu.
  51. dev,You can press Esc or Shift+Esc to hide a window in a dockable state. When focus is either in the output or topic window, pressing Esc returns focus to an open source window, without hiding the output or topic window. Pressing Esc again hides the output or topic window.
  52. dev,You can learn about any command on a menu by highlighting the command and reading the text in the status bar at the bottom of the main window.
  53. hlp, When clicking glossary text in a Books Online topic, you see the pop-up definition for the term. Glossary text is dark gray by default.
  54. hlp, You can open the Microsoft Development Library from within Microsoft Developer Studio.
  55. dev,You can quickly select a large block of text with the mouse. Click at the beginning of the text, press Shift, and then click at the end of the text.
  56. hlp,You can drag-and-drop text from the InfoViewer topic window to a source window.
  57. hlp,You can determine the scope of a full-text help query by using subsets. Create or choose a subset that includes only the books you want to search.
  58. dev,You can display a menu of toolbars by pointing to a toolbar and then clicking the right mouse button.
  59. dev,You can move a toolbar by clicking between the toolbar buttons and dragging. Return the toolbar to its original position by double-clicking its titlebar.
  60. hlp,Dock your InfoViewer toolbar to either side of the application frame for easy access.
  61. dev,You can drag toolbar buttons to a new position on a toolbar or to a different toolbar. Hold down Alt and drag the button. To copy buttons, press Alt+Ctrl.
  62. hlp,You can determine the scope of an F1 source-file help by using subsets. Create or choose a subset that includes only the books you want to search. \n\nThis technique helps you pinpoint the reference topics most relevant to your programming task.
  63. twl,You can open one of the last files or projects you worked on by choosing it from the Recent Files or Recent Workspaces list on the File menu.
  64. txt,You can repeat the last Find command in the source editor by pressing {FindNext}.
  65. txt,The source editor can emulate BRIEF(TM) and Epsilon (TM).
  66. res,Holding down Shift as you draw constrains the shape of an object. For example, it constrains a rectangle to a square or an ellipse to a circle.
  67. twl,You can move to the beginning of a line by pressing {Home}. You can move to the end of a line by pressing {LineEnd}.
  68. dbg,You can press {DebugStopDebugging} to stop debugging.
  69. dbg,You can press {DebugRestart} to restart debugging.
  70. txt,Esc moves the focus back to a source or topic window from the Find box on the toolbar.
  71. dbg,The pop-up menu often has debugger commands specific to that window.
  72. twl,You can undo most actions by clicking the Undo button on the Standard toolbar.
  73. txt,Before you can change text or graphics, you must first select the item you want to modify.
  74. txt,You can press {GoToNextErrorTag} and {GoToPrevErrorTag} to move to the next and previous build error or Find-in-Files match.
  75. dbg,When debugging, you can single-step into functions by pressing {DebugStepInto}.
  76. dbg,You can change how variables and expressions are displayed in the Watch or QuickWatch window by using format specifiers such as ,us (Unicode string) and ,x (hexadecimal integer).
  77. txt,When editing, you can go to the next and previous find by pressing {FindNext} and {FindPrev}.
  78. twl,You can hide all screen elements to see more of your code. From the View menu, choose Full Screen. To restore the screen, click the Full Screen button or press Esc.
  79. txt,You can undo your last edit by pressing {Undo}. To undo more than one change, press the key again.
  80. twl,You can use macros to insert the filename, date, page number, and other information into a header or footer.
  81. twl,You can repeat your last action by clicking the Redo button on the Standard toolbar.
  82. dbg,You can press {DebugToggleBreakpoint} to toggle a breakpoint at the cursor. The shortcut works in the Call Stack, too!
  83. dbg,In the Variables window and the Watch window, you can autosize a column to fit its contents by double-clicking on the divider.
  84. txt,When editing, you can select a word by double-clicking it.
  85. rxt,When editing, you can press {BookmarkToggle} to toggle a bookmark at the cursor.
  86. dbg,The Watch window has several panes, but only the visible pane is evaluated. This behavior means you can quickly change variables by placing assignment statements in a Watch pane and activating it when you want to change the variables. For example, in Watch 2 enter "debug=1" and in Watch 3 enter "debug=0".
  87. txt,When editing, you can replace text by selecting it and then typing.
  88. twl,In the U.S. or Canada, you can call the Microsoft Wish Line to make suggestions about features you would like to see in any Microsoft product or service. \n\nThe number for the Wish Line is (206) 936-WISH.
  89. txt,You can press {Find} to display the Find dialog.
  90. dbg,When debugging, you can press {DebugRunToCursor} to run the program to the cursor. This shortcut works in the Call Stack, too!
  91. bld,You can press {Build} to build the current target.
  92. txt,When editing, you can press {GoTo} to move to a line in the file.
  93. twl,When editing, you can go to the beginning of a file by pressing {DocumentStart}. You can go to the end of a file by pressing {DocumentEnd}.
  94. twl,You can move or copy selected text or graphics by dragging and dropping. To copy the item, hold down Ctrl as you drag.
  95. txt,When editing, you can use the selection bar to select text. In the space to the left of text, click once to select a line. Ctrl+Click to select the entire contents of the window.
  96. dbg,You can easily add variables to the Watch window by selecting them in your code and dragging them into the Watch window.
  97. txt,The status bar at the bottom of the application frame shows the current line number, column number, editor mode, current time, and other information.
  98. dbg,You should single-step new or changed code.
  99. dbg,When debugging, you can step over functions by pressing {DebugStepOver}.
  100. dbg,When debugging, you can press {DebugQuickWatch} to open the QuickWatch window to evaluate an expression.
  101. txt,When editing, you can press {LineCut} to delete the current line.
  102. txt,You can find a match for a parenthesis, square bracket, or angle bracket by placing the insertion point on it and pressing {GoToMatchBrace}.
  103. twl,When editing, you can press {GoTo} to move to a line, address, or bookmark.
  104. twl,You can select text by holding down Shift and then pressing an arrow key.
  105. txt,You can scroll through a file when using drag-and-drop editing. Drag the selected item beneath the horizontal ruler or above the horizontal scroll bar.
  106. txt,Developer Studio displays the name of a toolbar button when you point to the button.
  107. txt,You can assign a shortcut key to the WindowCycle command to cycle through the open source windows. To assign a shortcut key, choose the Keyboard tab on the Customize dialog. The WindowCycle command is under the Window category.
  108. txt,You can select a rectangular block of text by holding down Alt while you drag.
  109. dbg,With Data Tips, you can place the mouse pointer on a variable when debugging and instantly see its value.
  110. twl,Developer Studio has a wealth of cool features -- more than can fit in the main menu. To see what's available, explore the toolbars, pop-up menus, window and item properties. Look at what's in the Customize and Options dialogs on the Tools menu, too.
  111. txt,You can split the window into two panes and see two parts of a file simultaneously. Drag the split bar at the top of the scroll bar to split the window.
  112. txt, When editing, you can press {FindNextWord} to find the next occurrence of the selected text. {FindPrevWord} finds the previous occurrence.
  113. twl,You can open a file by clicking the Open button on the Standard toolbar. To see the file in the list, you may need to select a different drive or directory or select All Files from the Files Of Type box.
  114. txt,Many source code control packages, such as SourceSafe, can be seamlessly integrated into Visual J++.
  115. dbg,When debugging, you can press {DebugToggleBreakpoint} to set a breakpoint at the return address of a function in the Call Stack window. You can press {DebugRunToCursor} to execute to that frame.
  116. dbg,When debugging, you can find the cause of an assertion by using the Call Stack window to view the calling function frames.
  117. txt,When editing, you can press {GoToMatchBrace} to find the matching brace, parenthesis, or angle bracket.
  118.