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 TouchToneTommy 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: zikar
  • Order by date
  1. zikar

    Clipboard manipulation of graphic data.

    Hello, I need a hand for clipboard manipulation of graphic data, on VC++ MFC. Can anybody help me on this ? I have graphic data in the clipboard (in ENHMETAFILE format). I can get it using the following line of code : HENHMETAFILE handle = (HENHMETAFILE)GetClipboardData(CF_ENHMETAFILE)...
  2. zikar

    Problem using TRegistry.

    Hello, I use the TRegistry class, to develop a small tool where I need to search the Registry data base. It works at 90 percent, but I get some keys where even though there are three subkeys named : 0000, 0001 and 0003; GetKeyInfo(KeyInfo); returns 0 in the the field : KeyInfo.MaxSubKeyLen...
  3. zikar

    Getting the working directory.

    Thanks a lot. It works. I know I am late to answer. But anyway thanks. I was busy and didn't have time to read this before ...
  4. zikar

    A TEdit question.

    I have a TEdit component. Though it is high enough to display several lines. When I write in it, it keeps showing only one line of display; the end of the line being eventually invisible when it gets too long. How can I make it wrap and show the necessary number of lines ? Thanks for any tip
  5. zikar

    Frame Refresh problem (in HTML)

    Hello, I have the following HTML page. <HTML> <TITLE>Page titlee</TITLE> <META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=Shift_JIS&quot;> <FRAMESET ROWS=&quot;30%,70%&quot;> <FRAME SRC=F_One.php SCROLLING=&quot;NO&quot;> <FRAME SRC=F_Two.php> </FRAMESET> </HTML>...
  6. zikar

    Lay out problem.

    I have an application using TTabSheets and a few other components placed on those few TTabSheets. As long as I stay in my development environment it is OK. But when I start the program in another environment (other Windows, other computer ...) I start to get a distorted layout. The components...
  7. zikar

    Repainting a TPanel on a TTabSheet.

    Thanks for all those tips and sorry for my lack of clarity in the first explanation. I finally solved the problem by calling Repaint() on the MouseDown event of the TPageControl. I tried a few thing and it sounded like I could have used almost any other mouse event. I must admit I do not fully...
  8. zikar

    MS Excel spreadsheet interface

    Hi, If I am not misunderstanding your question. Here is where I got started when I had the problem as you seem to have. The information is clear and concise enough for you to get on the rails fairly quickly -:)...
  9. zikar

    Repainting a TPanel on a TTabSheet.

    OK, thanks again. I have tried a few things. But nothing works. I am stuck with this problem. I will try more later. If somebody has more ideas or an example of a TabSheet with a TPanel inside, I would be interested in taking a look. Michel
  10. zikar

    Repainting a TPanel on a TTabSheet.

    OK, then maybe it's abug -:) I do not really understand your solution though. I call the Repaint() method in the Form::FormPaint and also I have specific code to draw the canvas which called when the ActivePage->Name corresponds to the one containing the Panel. But as I wrote, this code does...
  11. zikar

    Repainting a TPanel on a TTabSheet.

    Hi, thanks for this idea; I tried it, but unfortunately it doesn't change anything. I wouldn't go that far as thinking it is a Window or Borland bug as you mention. I rather think, I am not making properly the various calls involved in the repainting process. One detail though I might have...
  12. zikar

    Repainting a TPanel on a TTabSheet.

    Hello, I have an application with a TPageControl object, itself containing four TTabSheet items. One of the TTabSheet item contains a TPanel element. My question is why does the repainting of the TPanel does not work properly ? To be more precise : 1) If the application starts with the...
  13. zikar

    About Comboboxes.

    Hi, Now I need to control the input in a Combo Box. Say the character 'X' should be present one time and only once. That means I do not want the user to be able to input a second 'X' character. And I do not want him (or her) to delete this 'X' character. The logic is simple but I just need...
  14. zikar

    Browse button.

    I have version 5.0 of C++ Builder. As I mentioned before I am using a standard OK button, not the one we get in the Dialogs tab. The reason I want to keep a standard button is to have something displayed there (say : &quot;Browse&quot;). About the double clicking I tried again on another...
  15. zikar

    Browse button.

    Hi The code is : ======================================== void __fastcall myForm::Button7Click(TObject *Sender) { // OpenDialog->InitialDir=&quot;D:\\&quot;; // OpenDialog->FileName=&quot;*.*&quot;; // OpenDialog->Filter=&quot;*.*|Any File&quot;; if (!OpenDialog->Execute()) return; }...
  16. zikar

    Getting the working directory.

    Hi, I have a little application running on a Pocket PC. How do I know the working directory from inside the application ? I need to know that to be able to save data at the same place where the application resides and not at the root. Michel
  17. zikar

    About TabSheets.

    Thanks, By looking at your tip plus a few other things I found on the net. And also by trial and errors, it finally works. I put the drawing code in the TPageControl &quot;change&quot; event handler, and I fire a Repaint() in the TTabSheet &quot;show&quot; event handler. I don't know if this...
  18. zikar

    Browse button.

    Hi, I tried to take off the debug options. I can get rid of the request for system.pas, by doing so; but it still hangs up with some &quot;access violation&quot;. Michel
  19. zikar

    Browse button.

    Hi, I will try to follow your suggestion and see. But I am already using a browsing windows from a &quot;File Open&quot; button provided by the IDE (in another project). So I think it should work. The only difference is that in the present case I want to fire the file browsing dialog from a...
  20. zikar

    About TabSheets.

    Thanks for the tip, but is there a sample code somewhere on how to use TPanel in that case ? All samples I found are fairly complicated and doing more than what I need. I just would like to be able to draw some thing in my tabsheet for a start. I have to deckare TPanel *p; and then appearently...

Part and Inventory Search

Back
Top