Jump to content

What is the *.CPL windows?


Recommended Posts

I think its :

ControlClick("Display Properties", "", "Button3"); The OK button!
Edited by goldenix
My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]
Link to comment
Share on other sites

Who is know api across asm? Why it not works?

include '%fasm%\win32ax.inc'

start:
        invoke ShellExecute,NULL,NULL,'desk.cpl',',-1',NULL,SW_SHOW
        invoke Sleep,100

        invoke FindWindow,"#32770",NULL
        mov [hWnd],eax
        invoke FindWindowEx,[hWnd],NULL,NULL,button
        mov [cWnd],eax
        invoke SendMessage,[cWnd],BM_CLICK,NULL,NULL
exit:
        invoke ExitProcess,NULL

section '.idata' import data readable writeable
        library kernel32,'KERNEL32.DLL',\
        shell32,'SHELL32.DLL',user32,'USER32.DLL'
        include '%fasm%\api\kernel32.inc'
        include '%fasm%\api\shell32.inc'
        include '%fasm%\api\user32.inc'

        cWnd dd ?
        hWnd dd ?
        button db '1', 0

:(

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...