Re: Making DLLs
- From: "Jim Carlock" <anonymous@localhost>
- Date: Sun, 22 May 2005 14:59:43 -0400
Hi Victor,
There are problems with frames in VB6 that I've run into. I've run into
that problem myself inside of VB, where flickering of "objects inside
a frame" during resizing is extremily annoying.
If anyone wants to see what's happening, create a VB standard exe
project, put a frame on a form, then put a filelist box inside of the
frame.
Then put some code inside of the Frame1_Resize Event to resize
the frame and filelist control. You'll see the filelistbox flickering during
the resize.
Victor, you might want to put a frame inside of a picturebox and then
Randy Birch indicated:
"I found that if you place the controls into a picture box, then set the
clipcontrols property of the pixbox to false, the controls in the frame
no longer flicker!"
I haven't personally checked this out as of yet and I believe Randy means
put the controls inside of a Frame1 which in turn sits inside of PictureBox1
and then set PictureBox1.ClipControls = False. This gets done within the
VB project for the control your using.
Let us know if that works for you.
--
Jim Carlock
Please post replies to newsgroup.
"victorsk" <victorsk@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,
Thanks for the message. Yes, I think I know what a function is. In my
three years of univeristy computer science I think I got the idea. What I
can't understand is why it is so hard for you to grasp what I mean in my
question about DLL.
When I created a DLL in VB, I exported a function that called a frame1.show
procedure. This frame1 consisted of an FTP application i.e. a "window" that
flickered when a user clicked outside of it. I really don't know how else to
phrase my question, but what I need to know is if a DLL created in VC++ would
call a function that *creates* a window that would "flicker" if a user would
click outside of it. Do you understand what I mean at least when it comes to
"flickering" part? Sorry, I am quite new to windows programming.
"Scott McPhillips [MVP]" wrote:
> victorsk wrote:
> > Hi,
> >
> > Thanks for the message. Sorry, I am still a bit fuzzy on whether VC++ will
> > create a DLL that, when called by an external app, will not "flicker" when a
> > user attempts to close the parent app while the DLL (app?) is open. It's
> > like those "yes/no" dialogs that we get in Windows that force the user to
> > respond before they have access to other windows applications. Is this what
> > VC++ DLL will work as? Sorry if I can't be more clear in my question. Thank
> > you.
> >
> > Victor.
>
> A DLL is code, not a window. Since a DLL is not a window it does not
> open, or close, or flicker. Your question does not make much sense
> because it seems to be based on a mistaken belief that a DLL is some
> kind of window.
>
> Do you know what a "function" is? A DLL is a file containing some
> functions the parent app can call.
>
> --
> Scott McPhillips [VC++ MVP]
.
- Follow-Ups:
- Re: Making DLLs
- From: Jim Carlock
- Re: Making DLLs
- References:
- Making DLLs
- From: victorsk
- Re: Making DLLs
- From: Scott McPhillips [MVP]
- Re: Making DLLs
- From: victorsk
- Re: Making DLLs
- From: William DePalo [MVP VC++]
- Re: Making DLLs
- From: victorsk
- Re: Making DLLs
- From: Scott McPhillips [MVP]
- Re: Making DLLs
- From: victorsk
- Making DLLs
- Prev by Date: Re: suppressing a warning related to size_t
- Next by Date: Re: suppressing a warning related to size_t
- Previous by thread: Re: Making DLLs
- Next by thread: Re: Making DLLs
- Index(es):
Relevant Pages
|