Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 a suggestion about "Enhanced Listboxes"
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

XSQT2000
New Member

3 Posts

Posted - Nov 18 2004 :  6:52:38 PM  Show Profile
I am a Chinese student. My English is very poor.
Visual Assist X is very very good!!!!! I love it!!!!!

but, I give you a suggestion.
e.g. I type Win32 API "ShowWindow" and "(", should auto
list all system macroabout "ShowWindow",
like this,

ShowWindow(hHandle, |)  <------- here
                    ---------------------
                    | SW_HIDE            |
                    | SW_MAXIMIZE        |
                    | SW_MINIMIZE        |
                    | SW_RESTORE         |
                    | SW_SHOW            |
                    | SW_SHOWDEFAULT     |
                    | SW_SHOWMAXIMIZED   |
                    | SW_SHOWMINIMIZED   |
                    | SW_SHOWMINNOACTIVE |
                    | SW_SHOWNA          |
                    | SW_SHOWNOACTIVATE  |
                    | SW_SHOWNORMAL      |
                    ---------------------

Edited by - WannabeeDeveloper on Nov 19 2004 02:08:55 AM

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Nov 19 2004 :  02:07:51 AM  Show Profile
Well, it almost does that when you type SW and press CTRL+Space...

Go to Top of Page

XSQT2000
New Member

3 Posts

Posted - Nov 19 2004 :  04:36:47 AM  Show Profile
quote:
Originally posted by WannabeeDeveloper

Well, it almost does that when you type SW and press CTRL+Space...



WannabeeDeveloper, thank you very much!

but, e.g.
ShowWindow(..., nCmdShow); "nCmdShow" is SW_XXXXXX .
MessageBox(..., uType); "uType" is MB_XXXXXX .
CreateFileMapping(..., flProtect, ...); "flProtect" is PAGE_XXXXXX .
CreateFont(..., fnWeight, ...); "fnWeight" is FW_XXXXXX .
......

SW_XXXXXX, MB_XXXXXX, PAGE_XXXXXX, FW_XXXXXX ......
too many! we can't remember all! so, my suggestion is good.
otherwise, we must refer to MSDN.
Go to Top of Page

daienming
Starting Member

1 Posts

Posted - Nov 21 2004 :  9:55:01 PM  Show Profile
I need this too!
Go to Top of Page

leaveye
Starting Member

1 Posts

Posted - Nov 21 2004 :  10:08:37 PM  Show Profile
This is very nice.

If add this function, programmers like me would work much more efficiently.

I vote for it.
Go to Top of Page

Ruskialt
Junior Member

Denmark
22 Posts

Posted - Nov 22 2004 :  02:26:34 AM  Show Profile
Probably very difficult to implement, how would VAX be able build the list? There's no way to know, except for reading documentation for each function call. VAX can't hold a database for all possible functions holding all possible flags. The flags are usually declared in #define statements, it would have been easier had it been enum declarations, but there's probably a reason for it's not...
Go to Top of Page

Cezariusz
Tomato Guru

Poland
244 Posts

Posted - Nov 22 2004 :  05:54:14 AM  Show Profile
Don't you have a feeling, that XSQT2000, daienming and leaveye are from the same team (if not the same person)?

Cezariusz Marek
https://midicat.net/
Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Nov 22 2004 :  06:46:51 AM  Show Profile
Well, what comes next?

"I have a question in my MessageBox-Text, so I want VAX to automagically add a MB_ICONQUESTION..."
"Since the Z-Order-Parameter for my SetWindowPos-Call is NULL, I want VAX to automagically add SWP_NOZORDER..."

Anyway, VAX may help you become more efficient, it will not generate code for you!
And yes, I'd say "looking at the function and then offering constants only valid in the current scope" is generating code!

Not to mention the CPU-Load overhead this would generate...


Edited by - WannabeeDeveloper on Nov 22 2004 06:54:20 AM
Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Nov 22 2004 :  06:53:08 AM  Show Profile
quote:
Originally posted by XSQT2000

SW_XXXXXX, MB_XXXXXX, PAGE_XXXXXX, FW_XXXXXX ......
too many! we can't remember all! so, my suggestion is good.
otherwise, we must refer to MSDN.


While this answer may sound harsh to you, I'd say: Then learn to remember them!

All you need to remember is MB_ (for MessageBox) or SWP_ (for SetWindowPos) or SW_ (for ShowWindow) or... do you notice something?

Go to Top of Page

XSQT2000
New Member

3 Posts

Posted - Nov 22 2004 :  08:37:58 AM  Show Profile
quote:

While this answer may sound harsh to you, I'd say: Then learn to remember them!


thank you! I take your advice.

quote:

All you need to remember is MB_ (for MessageBox) or SWP_ (for SetWindowPos) or SW_ (for ShowWindow) or... do you notice something?


ha ha ha
Suddenly I tumbled to it.
you are an expert, an adept. thank you! thank you!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000