CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2012
    Posts
    4

    How to "lock" the file name when using vtkKWLoadSaveDialog

    Hello,

    I am pretty new to visual c++. I have a quick question regarding what I am doing and hope to find answer here....

    I am using vtkKWLoadSaveDialog, setup the initial filename etc., when it pops up, the initial file is there. But when I try to direct to other path, the filename is gone, I want to keep the filename there whenever and whereever I go, is there a way to "lock" the filename?


    Thanks a lot!
    Quendy

  2. #2
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,619

    Re: How to "lock" the file name when using vtkKWLoadSaveDialog

    vtkKWLoadSaveDialog isn't a Windows API so you have to check the documentation for vtkKWLoadSaveDialog.
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    http://www.microsoft.com/visualstudio/eng/downloads

  3. #3
    Join Date
    Jun 2012
    Posts
    4

    Re: How to "lock" the file name when using vtkKWLoadSaveDialog

    Thanks for the reply!

    Actually I didn't find any clue on how to keep the initial filename always there from the vtkKWLoadSaveDialog documention. Does it mean that we could "lock" the filename?


    Thanks a lot!
    Quendy

  4. #4
    Join Date
    Jun 2012
    Posts
    4

    Re: How to "lock" the file name when using vtkKWLoadSaveDialog

    Quote Originally Posted by quendy View Post
    Thanks for the reply!

    Actually I didn't find any clue on how to keep the initial filename always there from the vtkKWLoadSaveDialog documention. Does it mean that we could "lock" the filename?


    Thanks a lot!
    Quendy
    Sorry, I really mean couldn't "lock" the filename!

    Quendy

  5. #5
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,619

    Re: How to "lock" the file name when using vtkKWLoadSaveDialog

    I'm sorry but since I'm not familiar with this library I can't help you. The only other help I found was that here http://www.kwwidgets.org/Wiki/KWWidgets they say that some help can be provided via joining the users mailing list.
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    http://www.microsoft.com/visualstudio/eng/downloads

  6. #6
    Join Date
    Jun 2012
    Posts
    4

    Re: How to "lock" the file name when using vtkKWLoadSaveDialog

    Thanks! I will try to ask around over there!

    Quendy

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



HTML5 Development Center

Click Here to Expand Forum to Full Width