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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Roderich

  1. Roderich

    TMainMenu with RightClick

    Thanks to all for your replies ! @KempCGDR: I want to right-click on the menu item itself, like on a Windows start menu item. @whosrdaddy: sounds good, but we just have Delphi 5... :-/ I know tried something with a mouse hook, seems to work not so bad. wbr Roderich
  2. Roderich

    TMainMenu with RightClick

    No, this is not what I need. I need reaction when the user right-clicks on any MenuItem inside of a MainMenu or PopupMenu. This should be something like a OnMouseUp (which is protected in TMenuItem). How it is now with my Delphi 5: - right-click on a MainMenu item doesn't call OnClick at all -...
  3. Roderich

    TMainMenu with RightClick

    hi, does anybody know about a MainMenu component (maybe TMainMenu descendant ?) which is able to react to mouse rightclicks ? Normal TMenuItem.OnClick is a NotifyEvent (leftclick only). What I need is something similar to Windows start menu where the user can right-click and e.g. select...
  4. Roderich

    Japanese language / Unicode

    I've a problem with Japanese language: My programm is designed to run with several languages, e.g. German, English, Spain.... At runtime the controls are assigned texts for caption, hint etc. depending on the class. Those texts are read out of a text file. Now I've added Japanese language; a...
  5. Roderich

    extract or unzip a zip file

    maybe Lou's way is the best... :-) Roderich
  6. Roderich

    extract or unzip a zip file

    hi Stretchwickster, I've used Abbrevia as well and it didn't please me. First there have been some strange "features" I could't explain, and then the compression speed was very very poor compared to TZipMaster. Even with setting "optimize speed" (or something like that) it...
  7. Roderich

    extract or unzip a zip file

    hi, I'm using the ZipMaster freeware component which turned out to be very good. Just look for it in one of the Delphi pages like Tory's or Delphi Super Page. Also you may try another TZip component: http://www.users.on.net/johnson/delphi/ wbr roderich
  8. Roderich

    How to translate from C++ to Delphi

    another way is to make COM objects from your C++ objects and use them in Delphi. Roderich
  9. Roderich

    Function returning array???

    Of course it's possible to return an array as function result. Just declare type TmyArray = array[0..bla] of integer; function myFunc(...): TmyArray; regards Roderich
  10. Roderich

    Freeing DLL's

    hi Eric, why do You want to unload the dll at once after calling the exported function ? This could induce perfomance problems as well, I guess. I normally call FreeLibrary at main program shutdown. But it should be possible to not call FreeLibrary at all and just let the OS do the freeing of...
  11. Roderich

    Getting the Windows Temporary Directory

    hi Stretchwickster, look at API call "GetTempPath" regards Rod
  12. Roderich

    Printing problems again

    hi for me you make a general mistake accessing the printer. Either you work with AssignPRT OR you use Printer.BeginDOC, but not both at the same time. Normally I print the following way: Printer.BeginDOC; Printer.Canvas.Font.Assign(myFont); for i := 0 to blabla do Printer.Canvas.TextOut(myX...
  13. Roderich

    Strange OpenDialog problem

    Executing your OpenDialog changes the current path of your application. So appending to "debug.txt" wont find this file in the other folder. You can set OpenDialog option 'NoChangeDir' to avoid this. Generally it is always a good way to supply the full path when assigning files, e.g...
  14. Roderich

    change regional settings

    hi Earlrainer, try this link: http://www.kodeit.com/entries/tips/winreg/2002428_353/ Rod
  15. Roderich

    Problem with DLL

    hi Eric, I always close my forms which are inside a DLL because unloading a DLL with a form open sometimes caused exceptions. So what I did is exporting another procedure, e.g. named "ExitMyProc", which closes the form. Call this procedure before unloading the DLL. Maybe you could...

Part and Inventory Search

Back
Top