Results 1 to 9 of 9

Thread: Where's my form

  1. #1

    Thread Starter
    Member MaBen's Avatar
    Join Date
    Apr 2000
    Location
    Sherbrooke, Québec, Canada
    Posts
    38

    Cool

    How can I know if my form has move?
    There's no move event with the form.
    And I don't want to use a Timer control to watch if the form as move.

    Thank's everybody



  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    You have to Subclass your form, how good are you with the API?

  3. #3

    Thread Starter
    Member MaBen's Avatar
    Join Date
    Apr 2000
    Location
    Sherbrooke, Québec, Canada
    Posts
    38

    Where's My Form

    Not very good, can you help?

  4. #4
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    OK, Subclassing's quite tricky. I really screwed up my computer because I learnt by trial and error so I don't just want to post up some code and have you mess yours up too. There should be an article somewhere on the VB API site (in the blue bit to your left) It's a really usefull technique and it's great to learn but it does crash if you get it wrong.

  5. #5
    Guest

    Question

    how did you screw up your computer?

  6. #6
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    I don't know it was definitley the subclassing, thinking about it it probably wasn't but I screwed it up a whole load of times, which causes bigtime memory leaks and I noticed my machine was slowing down even after rebooting, I think Win98 tried to recover the memory leaks or something, I swiched to windows 2000 though and that seems to have fixed it (plus I make fewer mistakes now)

  7. #7
    Guest

    hey sam

    hey sam, my computer seems like it is running slower by the day. what could be causing this problem? it seems like you had this problem when i read your above posts. my icons used to all be there when i got into win98 a month or 2 ago, but slowly it was taking a few seconds for all the icons to show at startup, and now it takes like over 10 seconds for all my desktop icons to fully load. it is very annoying, and i was wondering if you knew what could cause this and if there was a solution. should i defrag, scandisk, what? thanks for any advice.

  8. #8
    Guest

    also...

    also my computer reads from my CD-rom sometimes even when im not trying to access it. for example, when i am typing something in the address bar of IE 5, it will access the cd-rom. why is this?

  9. #9
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    hdem, i have the same problem on both my portable and my desktop comp. Reads the cd whenever it's not supposed to. Also Win98 seems to run slower and slower by each day. Icons, they load fast enough on my desktop comp, but for my portable i had to reinstall win95, it always loads the icons as fast as possible.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

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



Click Here to Expand Forum to Full Width