|
|
|
| W98 and VB6.
With reference to Q156266: BUG: Adding Menu Shifts Controls and
Reduces SDI Form Height
I've implemented the solution suggested in the above article i.e.
GetSystemMetrics: SM_CYMENU and increased ScaleHeight accordingly.
However, the actual form height now seems to fluctuate. Sometimes it's
correct and at other times it's too high (by SM_CYMENU amount).
I've ruled out any coding causes and the problem is very intermittent
so it can't really be nailed down easily.
So, I'm wondering if this is a known thing or am I just lucky? ;o)
Danny
(You guessed it! Remove NOSPAMFOR before emailing.)
| |
| Ken Halter 2005-03-23, 8:59 pm |
| "Danny" <NOSPAMFORdaniel_ahorn@yahoo.com> wrote in message
news:2el341pt0j4isdg4g3uc7ifeh4he0cssl6@
4ax.com...
> W98 and VB6.
>
> With reference to Q156266: BUG: Adding Menu Shifts Controls and
> Reduces SDI Form Height
>
fwiw, the only reference to that article I could find was here... it's a
Foxpro bug.
http://www.kbalertz.com/kb_Q156266.aspx
I can't reproduce the problem here..
--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Sign up now to help keep VB support alive - http://classicvb.org/petition
Please keep all discussions in the groups..
| |
|
|
"Danny" <NOSPAMFORdaniel_ahorn@yahoo.com> wrote in message
news:2el341pt0j4isdg4g3uc7ifeh4he0cssl6@
4ax.com...
> W98 and VB6.
>
> With reference to Q156266: BUG: Adding Menu Shifts Controls and
> Reduces SDI Form Height
I looked up that article in MS's Knowledge Base. It applies only to the
following products:
APPLIES TO
. Microsoft Visual FoxPro 5.0 Standard Edition
. Microsoft Visual FoxPro 5.0a
. Microsoft Visual FoxPro 6.0 Professional Edition
Whatever problem you're having is something else.
--
Mike
Microsoft MVP Visual Basic
| |
| Bob Butler 2005-03-23, 8:59 pm |
| "Danny" <NOSPAMFORdaniel_ahorn@yahoo.com> wrote in message
news:2el341pt0j4isdg4g3uc7ifeh4he0cssl6@
4ax.com
> However, the actual form height now seems to fluctuate. Sometimes it's
> correct and at other times it's too high (by SM_CYMENU amount).
In the IDE or when compiled?
There is a bug that shows up now and again where if the form is not visible
in the IDE when you run the app then the form height is truncated. Viewing
the form and running again fixes it.
--
Reply to the group so all can participate
VB.Net: "Fool me once..."
| |
|
| Date: Wed, 23 Mar 2005 17:11:19 -0500
Name: "MikeD" <nobody@nowhere.edu>
>
>
>I looked up that article in MS's Knowledge Base. It applies only to the
>following products:
>
>APPLIES TO
> . Microsoft Visual FoxPro 5.0 Standard Edition
> . Microsoft Visual FoxPro 5.0a
> . Microsoft Visual FoxPro 6.0 Professional Edition
>
>
>Whatever problem you're having is something else.
(To both Ken and Mike)
That's what I thought but the bug is definitely occurring here VB6 as
well.
Anyway, it's not really such a big deal if the form is sometimes
slightly taller, but it just looks a little bit sloppy.
Danny
(You guessed it! Remove NOSPAMFOR before emailing.)
| |
|
| Date: Wed, 23 Mar 2005 14:39:41 -0800
Name: "Bob Butler" <tiredofit@nospam.com>
>"Danny" <NOSPAMFORdaniel_ahorn@yahoo.com> wrote in message
> news:2el341pt0j4isdg4g3uc7ifeh4he0cssl6@
4ax.com
>
>In the IDE or when compiled?
Both.
>There is a bug that shows up now and again where if the form is not visible
>in the IDE when you run the app then the form height is truncated. Viewing
>the form and running again fixes it.
I just tried that but no luck. I guess it'll stay a mystery but thanks
for confirming that there is something fishy...
Danny
(You guessed it! Remove NOSPAMFOR before emailing.)
|
|
|
|