Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: bobbie100
  • Content: Threads
  • Order by date
  1. bobbie100

    Free TBitmap palette

    I have some code for converting a color bitmap to 8-bit grayscale bitmap (GrayBmp: TBitmap) which includes the following: var GrayPalette: TMaxLogPalette; begin GrayBmp.PixelFormat := pf8Bit; SetGray256Palette(GrayPalette); // Set palette colors GrayBmp.Palette :=...
  2. bobbie100

    Hints not displaying for TMainMenu

    I have several forms that use a TMainMenu. I want to display the Hint item for the various menu and (where applicable) submenu items. However none of the hints I set are displayed. I have buttons on the same forms that correctly display their hints. I have checked that Application.ShowHint is...
  3. bobbie100

    Resizing issues with TAcroPDF

    I'm trying to use the ActiveX PDF component that comes with Delphi 7. All works fine, EXCEPT the area used by the component to display the document on the form doesn't change as the form size changes. The component reports the correct changed size for both the width/height and...
  4. bobbie100

    Lost component palette toolbar

    I made the mistake of doing some testing on the effects of changing the user setting of the windows Font Size while having Delphi 7 open. After I changed from Normal to Extra Large my Delphi toolbar layout had been thrown into complete disarray. Worst of all after I changed back to Normal the...
  5. bobbie100

    Compressed data in a .res file

    The program I am working on incorporates a large amount of ascii data which is input as RC_Data within a .res file. This data dominates the size of the executable. Is there any way of storing the data in a compressed format (e.g. zip) within a res file, and then uncompressing when it is loaded...
  6. bobbie100

    Restore form given handle

    I have the handle of another application's main form of a known type. I want to display that form in the foreground in the Default (Normal) condition. The current state of the form is either Minimized or Normal. The best I have achieved is by using: ShowWindow(FormHandle, SW_SHOWDEFAULT)...
  7. bobbie100

    Convert pf24Bit truecolor bitmap to pf8Bit grayscale

    I want to convert a truecolor bitmap with HandleType bmDIB and PixelFormat pf24Bit into a 256 grayscale with PixelFormat pf8Bit. I have a function for converting a pf24Bit bitmap to grayscale procedure ConvertBmpToGrayscale(var Bmp: TBitmap); const MaxPixelCount = 32768; type...
  8. bobbie100

    LoadFromFile and SaveToFile exceptions

    I want to add appropriate exception handling with useful messages when loading and saving various descendants of TGraphic using the LoadFromFile and SaveToFile procedures. The files are selected using the standard Delphi OpenDialog (for LoadFromFile) and SaveDialog (for SaveToFile). What...
  9. bobbie100

    Parent form of a control

    Really simple one. What's the easiest way to determine the Form that contains a specified control? I know I could search up through the parents until I find type TForm, but is there an easier way?
  10. bobbie100

    Applications files for deployment

    I need to identify the supporting windows files (.dll etc) that are required to deploy the application I am developing. The Delphi help file does not say anything about how to determine what files are needed. The files I am concerned about mainly relate to the Windows API. I am using Delphi 7...
  11. bobbie100

    System Commander for Multiple OS

    I want to install all the following Windows OS on a single machine: 98/98se/Me/NT4/2000/XP. This machine will be used solely for testing software installation and running prior to release. I have System Commander 7.0, but am not clear about the best way to use it so that all 6 OS are isolated...
  12. bobbie100

    Multiple OS using System Commander

    I want to install all the following Windows OSs on a single machine: 98/98se/Me/NT4/2000/XP. This machine will be used solely for testing software installation and running prior to release. I have System Commander 7.0, but am not clear about the best way to use it so that all 6 OS are isolated...
  13. bobbie100

    Multiple OS using System Commander

    I want to install all the following Windows OSs on a single machine: 98/98se/Me/NT4/2000/XP. This machine will be used solely for testing software installation and running prior to release. I have System Commander 7.0, but am not clear about the best way to use it so that all 6 OSs are isolated...
  14. bobbie100

    Multiple OSs using System Commander

    I want to install all the following Windows OSs on a single machine: 98/98se/Me/NT4/2000/XP. This machine will be used solely for testing software installation and running prior to release. I have System Commander 7.0, but am not clear about the best way to use it so that all 6 OSs are isolated...
  15. bobbie100

    Multiple OSs using System Commander

    I want to install all the following Windows OSs on a single machine: 98/98se/Me/NT4/2000/XP. This machine will be used solely for testing software installation and running prior to release. I have System Commander 7.0, but am not clear about the best way to use it so that all 6 OSs are isolated...
  16. bobbie100

    Problem with combined Click and Drag

    I am using a descendant of TGraphicControl as a display for a large number of objects presented on a form. I need to implement a simple capability for 2 different responses dependent on whether the user clicks or drags an object. I identify which object from the coordinates at the MouseDown...
  17. bobbie100

    Preselect TListBox item at load?

    When I open a form with a TListBox component I want to have the last used item already selected as though the user had just clicked the mouse on it. How can I preselect a known item in a listbox when the form is first shown?
  18. bobbie100

    Root name displayed byTShellViewList

    I'm trying to use the TShellTreeView component as a simple directory selector within a preferences form. Seems to work fine for what I'm doing EXCEPT when I set the Root directory as an explicit string it does not display the correct root directory name. It always seems to display the level 1...
  19. bobbie100

    Event handlers in multiple objects

    I am currently designing a game suite which has at it's core a central set of properties, methods and sub-classes implemented in an abstract class TGameCore. Each game will be a descendant of this core, providing its own special implementation of the abstract methods defined in TGameCore. Unit...
  20. bobbie100

    Override form size at program start

    I have an existing program developed using the IDE with the size of the main form set by values of ClientWidth & ClientHeight in the Object Inspector. I now find I need to set the size of the main form at start up derived from data read from a file during form create. However, deriving the...

Part and Inventory Search

Back
Top