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 


CE Form Designer realization

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Antoshick
Advanced Cheater
Reputation: 0

Joined: 02 Nov 2018
Posts: 56

PostPosted: Wed Oct 27, 2021 11:22 am    Post subject: CE Form Designer realization Reply with quote

Hi, i am trying to write a C++ Win32 API GUI wrapper.
I want to ask how the control properties update system works in Cheat Engine. Is there a timer that checks if the property values have changed, and if so, updates the appearance of the control.

By myself, I'm trying to use a C++ class, which, for example, is a button, and inside it is another class representing some property and having overloaded operators, such as the = operator, the + operator, and etc.
But if i will use further class method, i think i will need really big class with many overloaded operator.

What method can i use to simplify work?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25288
Location: The netherlands

PostPosted: Wed Oct 27, 2021 11:47 am    Post subject: Reply with quote

Pascal can enumerate published properties so that's used to fill the list

no idea how to implement that in C++ c, perhaps RTTI ?

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Antoshick
Advanced Cheater
Reputation: 0

Joined: 02 Nov 2018
Posts: 56

PostPosted: Wed Oct 27, 2021 12:01 pm    Post subject: Reply with quote

Dark Byte wrote:
Pascal can enumerate published properties so that's used to fill the list

no idea how to implement that in C++ c, perhaps RTTI ?


Thank, i will learn about RTTI now.
Back to top
View user's profile Send private message
Antoshick
Advanced Cheater
Reputation: 0

Joined: 02 Nov 2018
Posts: 56

PostPosted: Thu Oct 28, 2021 10:30 am    Post subject: Reply with quote

Dark Byte wrote:
Pascal can enumerate published properties so that's used to fill the list


In CE that list of properties then is used in a some timer, which check if some of properties for some button, for example, is changed, so then make refreash appereance of this button?

How work this system, published properties - list - refreash appereance? What relationship
Maybe i will found then alterative on c++, for this system.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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