MessageForm is not rendering correctly


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Whenever the MessageForm is shown on my computer, there is no border or any other nice formatting. I've included a screen shot. This is the MessageForm shown when the password is incorrect, but this happens whenever I call it also.



I'm using Win2k Pro, sp4.
Attachments
MessageForm_ErrorRendering.bmp (131 views, 236.00 KB)
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
My guess is that you installed and compiled the source code... for a few versions of the source code, when we ran the source through our utility that adds the copyright to the top of the file, the encoding of the files changed and the Alt+0160 that we placed in the title bar of several of the forms was removed, so the title bars disappeared.  So, all you need to do is get the latest version of the source from the website and recompile it.
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I have not compiled the source. I've installed it from your setup programs. This occurred for me with 1.5.0 and 1.5.1. I don't think I've done the update from the 17th yet though. I'll try installing that. Do I need to do an uninstall before installing the new one? Or just install over the top?
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yes, you will have to uninstall before installing the new one...
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I uninstalled and reinstalled SF (1.5.1, oct 20th update). Message forms are still borderless. Sad



So, what's the next step?
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Hrm... it could be that you have a display setting that is preventing the USER_DRAW option on the MessageForm from being handled properly.  What are your display settings, like resolution, color depth, etc?
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
1280x768

32 bit



Other message classes work great, like the InfoBox variations.



StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
That's strange... we don't have a computer with Win2K SP4, but I have a virtual machine that I could install it on and see what's happening.  However, if you need it in a hurry, you can download the source code and build it in debug.  Once that's done, you can open the ThemedWindowBase.vb file (in the MicroFour StrataFrame Base solusion in the Windows folder) within your project and step through the drawing.  Most likely, there is an exception being thrown somewhere because of some unsupported feature in Win2K SP4.
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
If you add a new Themed Form to your project (through the SF Themed Form template), does it draw properly at runtime and design-time?
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I created a new project, added a themed form to it. I was pinkish-purlpish at design time (obviously the transparent color) and nothing was rendered at design time. So, looks like win2k sp4 at least is missing something required. Sad That's pretty important for me to know as I know at least several of my client are still on win2k.



I won't have time to do a debug compile of SF until next week at the earliest.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search