Results 1 to 6 of 6

Thread: Is this an easy thing to do in C++???

  1. #1

    Thread Starter
    Fanatic Member Illspirit's Avatar
    Join Date
    Mar 2001
    Location
    Blackpool, England
    Posts
    815

    Is this an easy thing to do in C++???

    OK, i know NO C++, and i looked at it just now and it seems dead confusing

    Vlatko told me that the only way to show a VB form when the user click the start button or presses the win key, is to make a dll in C++

    How do i do this???? If anyone can help me, please could you describe it in simple terms

    Although i wasnt planning on learing C++ for a while, i would like to know what i am doing if i manage to make this dll

    Any help would be GREATLY appreciated

    btw, ive looked at a few tutorials, and they all seemed to be similar to "Learn how to make a completely blank window in C++ in just 21 years!!"... If i do manage to make this dll, then i've more or less finished my program, so i would like to do it within the next week or two
    Illspirit - [email protected]

    SmartBarXP Lead Developer
    SmartBarXP - The leading desktop sidebar application for Microsoft Windows XP

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Illspirit i'm glad you became interested in learning C++. But you can't start windows programming, (making dlls for hooks and subclassing other windows to be more precise) from the beggining. You will have to learn the language first.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3

    Thread Starter
    Fanatic Member Illspirit's Avatar
    Join Date
    Mar 2001
    Location
    Blackpool, England
    Posts
    815
    Oh thats just great, i spend months making a program in VB, and now all i have to do to finish it off is learn C++ Thats just my luck I was hoping to start makin some penny's before the end of next month

    Is there not an existing dll that does this?? Is there NO other way i can do this??? I have made the replacement start menu form in VB, ALL i need to do is take over the start menu. I expected the solution to be slightly easier than to learn another language
    Illspirit - [email protected]

    SmartBarXP Lead Developer
    SmartBarXP - The leading desktop sidebar application for Microsoft Windows XP

  4. #4
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    I can't think of a way to do the thing you want without subclassing or hooking. Maybe it can be done in VB (somehow). I don't want to be the one thet fools you so ask around if someone knows how to do it in VB, which i don't belive but..
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  5. #5
    New Member
    Join Date
    May 2001
    Location
    IE
    Posts
    3
    My head may be up my butt , but... here goes. Make VB form with an image of the Start button (screengrab) located where the Windows one is (of course). Make the form the size of the button and manually place it correctly (finicky but bear with me). Then just use a loop to scan for a mouseclick or a keypress equivalent to the Windows key and presto. When you have the exe compiled paste it into the Startup folder and/or get your deployment package to place it there during installation.

    Desperate situations require desperate measures but I know how you feel. C++ is wrecking my f*%&*^ head right now.

    ronin1.

  6. #6
    Hyperactive Member
    Join Date
    Aug 2000
    Location
    Texas
    Posts
    313

    Try this

    Well you could just check every keystroke (that can be done in vb with a few api calls) and you can also see where the mouse is (that can be done in vb with a few api calls) and I am proably sure you can find out when the mouse was clicked. If you need help e-mail me. But i am sure you can find all the info in the vb fourm. And oh yeah you can also...hide the start menu...in vb. Or start button should i say.

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