Jump to content
Sign in to follow this  
youknowwho4eva

Nvidia Control

Recommended Posts

youknowwho4eva

How do I get my Nvidia controls to show up on my GUI's?


Giggity

Share this post


Link to post
Share on other sites
rasim

youknowwho4eva

Try this:

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <WinAPI.au3>
#include <Constants.au3>

$hGUI2 = GUICreate('Embed nView Desktop Manager', 500, 524, 0, 0, BitOr($GUI_SS_DEFAULT_GUI, $WS_CLIPCHILDREN))

Run("RunDll32.exe shell32.dll,Control_RunDLL nvtuicpl.cpl")

WinWait("nView Desktop Manager")

$hChild = WinGetHandle("nView Desktop Manager")

_WinAPI_SetParent($hChild, $hGUI2)
_WinAPI_SetWindowLong($hChild, $GWL_STYLE, $WS_CLIPSIBLINGS)
_WinAPI_SetWindowLong($hChild, $GWL_HWNDPARENT, $hGUI2)
_WinAPI_SetWindowPos($hChild, 0, 0, 0, 0, 0, BitOr($SWP_SHOWWINDOW, $SWP_NOSIZE))

GUiSetState(@SW_SHOW, $hGUI2)

While 1
    $msg = GUIGetMsg()
    Switch $msg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd

Share this post


Link to post
Share on other sites
youknowwho4eva

Thanks rasim, but what i meant was the tools that go up on the top bar.


Giggity

Share this post


Link to post
Share on other sites
youknowwho4eva

anybody?


Giggity

Share this post


Link to post
Share on other sites
youknowwho4eva

Does anyone have an answer for this?


Giggity

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.