How to detect owner of context menu?

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

How to detect owner of context menu?

Post by Pablo César »

Hi Dave,

In my opinion, we should work together with a good tool for fmg edting in order to complement the lack of editing features of our IDE. I was thinking to work on something like this:

1. To open any fmg file.
2. To add ContextMenu for all components automactically
3. To add to ContextMenu, following itens:
   a. Move
   b. Resize
   c. Align
   d. Properties
   c. Select/Unselect
4. Make select and multi-sleect by clicking of mouse
5. ComboBox with all itens for seletable item
6. To add grids (something like this) with selectable scale
7. To display selected component position at form x,y
8. Preview of fmg

An excellent work we find at C:\MiniGUI\SAMPLES\Advanced\ControlPos_3

This is what I think. I have always trying to develop something for this features. But is hard work and now we are having facilities thru our great help of our amigo Claudio. But all of us we have some limitations. I loved the ContextMenu ressources in this case.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
mol
Posts: 3721
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: How to detect owner of context menu?

Post by mol »

I'm ready to join to this project!
Our current IDE has some limitations and without freeing source code (good word? :-D) we need to start from zero.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

How to detect owner of context menu?

Post by Pablo César »

mol wrote:freeing source code (good word? ) we need to start from zero.
Laughing and crying at the same time ...

Thanks Marek for your support. Ok, let's start with this Main file and when new results comes up, we will continue post the source codes for updating on the forum.
FMG_Editor.rar
Version 0.01
(1.75 KiB) Downloaded 112 times
I hope to join many more contributors to help us ! :)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: How to detect owner of context menu?

Post by Rathinagiri »

It will be great Pablo. All the features you have listed here, if achieved, will bring HMG to a new height.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
mol
Posts: 3721
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: How to detect owner of context menu?

Post by mol »

Pablo César wrote:
mol wrote:freeing source code (good word? ) we need to start from zero.
Laughing and crying at the same time ...

Thanks Marek for your support. Ok, let's start with this Main file and when new results comes up, we will continue post the source codes for updating on the forum.
FMG_Editor.rar
I hope to join many more contributors to help us ! :)
We should start new topic for this work and write draft what to do first
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

How to detect owner of context menu?

Post by Pablo César »

mol wrote:We should start new topic for this work and write draft what to do first
Yes you are right. A new topic was created for: HMG FMG Editor

You can follow those itens as goals. I my opinion you Marek could start to see how can be create ContextMenu for each components of a form. LoadFmg(cFileFmg) shall returns a array with aComponents. So we will count with names, position, size, color, alignement...
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply