Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


CreateWindowExW -> X,Y

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
DebugMe
Newbie cheater
Reputation: 0

Joined: 29 May 2007
Posts: 20

PostPosted: Sat Mar 01, 2008 12:44 pm    Post subject: CreateWindowExW -> X,Y Reply with quote

Hi, I find it hard to get the right coordinates when using CreateWindowExW, is there anyway to preview the window, without rebuilding the project every time?

I tried creating a dialog and then opening the file in notepad to get the coords, but when I tried to use those coords, the window generated was not the same as before...
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Mar 01, 2008 12:47 pm    Post subject: Reply with quote

Beings that you are using CreateWindowEx, you don't get to use the dialog editor that you would with the resource editor in Visual Studio. You could make a test project that creates a window, adds two text boxes and a bottom to it and allows you to adjust the location of the window during runtime. You can use SetWindowPos to move the window while its running.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites