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 Mike Lewis 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: *

  1. iCounter

    Individual RGB values from TColor....

    Search the documentation, because there is some functions that return each color : Red, Green, Blue. Or you can apply some bit operation(binary and and shift to right) on the TColor variable to find each color. TColor in hexa is something like this : 0xRRGGBB. normal c++ programmer
  2. iCounter

    Creating a new CheckBox with self drawing method ???

    Thanks mattcs ! normal c++ programmer
  3. iCounter

    OnKeyDown problem....

    If you don't try, you don't know !! I'm using GetAsyncKeyState at 50 miliseconds in a timer, and it doesn't slow down my application! normal c++ programmer
  4. iCounter

    OnKeyDown problem....

    If you want to make a game, you must use a loop where you can call the win api function GetAsyncKeyState. Or you can use a timer to call GetAsyncKeyState. The GetAsyncKeyState function determines whether a key is up or down at the time the function is called, and whether the key was pressed...
  5. iCounter

    New Page in QuickReport?

    You must add a handler to the BeforePrint message for the first band (usualy the title band) on each of the basic reports. In these handlers call the NewPage() method of the report. void __fastcall GenericBeforePrint(TObject *Sender) { ((TMyReport*)Sender)->NewPage(); } TMyReport * Rep[100]...
  6. iCounter

    Creating a new CheckBox with self drawing method ???

    I was working on a package of controls for Builder and i'm stuck with creating a new CheckBox with my own drawing. I've tried : class XCheckBox : public TCustomCheckBox { .... }; but is not working, the class TCustonCheckBox do not include Canvas, and I can't draw the control. I need to create...

Part and Inventory Search

Back
Top