|
-
Jul 26th, 2000, 05:05 PM
#1
Thread Starter
Fanatic Member
Does anyone know the API equivalent to SCALEX function?
Please provide an example if possible!
Thanks.
Chemically Formulated As:
Dr. Nitro
-
Jul 26th, 2000, 05:13 PM
#2
transcendental analytic
Why would you need that? AFAIK All screen related stuff in API are specified in pixels
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jul 26th, 2000, 05:15 PM
#3
Thread Starter
Fanatic Member
I am using Excel and trying to make one of the userform to be the size of the screen width. How might you suggest me attacking this problem?
I am using the Move method to position and size at the same time. Userform has no maximaze state.
Chemically Formulated As:
Dr. Nitro
-
Jul 26th, 2000, 05:36 PM
#4
Thread Starter
Fanatic Member
Here is actually a better question. In Excel, the userform is similar to a VB form but does not have some functionality. It does not have hDC or hWnd. How can I obtain hDC or hWnd for the userform in Excel?
Because once having one of this, I will just use the SetWindowPos API.
Thanks
Chemically Formulated As:
Dr. Nitro
-
Jul 26th, 2000, 05:37 PM
#5
transcendental analytic
Dunno much about programming Excel apps, but
Do you have something like Screen.TwipsperpixelX?
Since you can get the screen size by
Code:
Screen.Width/Screen.TwipsperpixelX
Screen.Height/Screen.TwipsperpixelY
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jul 26th, 2000, 05:41 PM
#6
transcendental analytic
You can use Findwindow API to find the userform in Excel, You just need to find out the classname of it.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jul 26th, 2000, 05:50 PM
#7
Thread Starter
Fanatic Member
Originally posted by kedaman
Dunno much about programming Excel apps, but
Do you have something like Screen.TwipsperpixelX?
Since you can get the screen size by
Code:
Screen.Width/Screen.TwipsperpixelX
Screen.Height/Screen.TwipsperpixelY
No such thing in Excel!
That is right, I forgot all about FindWindow!
Thanks Ked!
Chemically Formulated As:
Dr. Nitro
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|