|
TRACE at the entry point to the function and Spy++ looking at the control. Seeing if WM_PAINT messages in Spy++ correspond with TRACE outputs in the debugger.
|
|
|
|
|
Hi,
I have an activeX control which is displayed in the Internet Explorer via the object tag. Now, as you probably know, you can pass parameters to the activeX control by using the param tag.
My question now is, how do I get these parameters in my activeX control.
I read about IPropertyBag, but didn't find a good example on how to implement that. I even don't know whether this is the right way to get the parameters.
Does anyone know how to realize that?
I hope so.
Thx in advance,
mimmi511
|
|
|
|
|
hiho@ll
is it possible to make a MFC bho which could use MFC controls?
|
|
|
|
|
Hi,
I'd like to create a popup menu with a titlebar to move the menu. For that I thought to create a toolbar in vertical order and with horizontal popup menus. Does anybody know how to create it with MFC?
thanks a lot
|
|
|
|
|
Does anyone know what the code is to generate LM hashes?
|
|
|
|
|
I'm having trouble opening a 3 GB file. I've never had to open a file so large before and I'm nost sure what to do. I've tried fopen and open functions but the program fails to open the file. Any suggestions?
|
|
|
|
|
How are you attempting to open it? The fopen() and open() functions should be limited to older C programs. For newer Windows programs, use CreateFile() instead.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
To use CreateFile() I must have the Coredll.lib. Where do I find this lib?
|
|
|
|
|
Oops..nevermind I was in the WindowsCE part of MSDN..
|
|
|
|
|
|
Thanks so much for your help...CreateFile worked..
|
|
|
|
|
hiho@ll
i try to do something like a newsticker on a browser helper object
the problem is that the helper object is made using ATL and i want to use CStatic (because there are some classes, which scroll text using a CStatic)
my problem is that CStatic is a MFC class and i need it for my ATL browser object!?
are there alternatives or other controls i could use for my problem?
btw, is it possible to convert my BHO to a MFC BHO?
or is MFC BHO not supported by IE?
if it's possible, how can i do it (easily, without troubles?)
I'm using Visual Studio .NET
thx
|
|
|
|
|
ThinkingPrometheus wrote:
my problem is that CStatic is a MFC class and i need it for my ATL browser object!?
You can not directly add a mfc class to ATL.
John
|
|
|
|
|
and how can i make just a simple static text control in ATL?
|
|
|
|
|
You already have one. A static control (STATIC ) is a regular Windows control, just like BUTTON , EDIT , etc.
You are still going to have to do some drawing yourself; the regular static control works by characters, and does not "smooth scroll" like a news/stock ticker.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
How do i use the STATIC in my ATL projects i am new to ATL.
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Using CreateWindow, you just specify the string _T( "STATIC" ) as the window class name, IIRC.
I think that ATL's window classes have a wrapper class for the static control.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
hello all
can you please help me with one thing
i need to know about a very good security application on the internet which i can implement using VB.
sumthing like a digital signature/certificate and stuffs like that.
or maybe an email security thing.
i need it for a project,where i will compress a file,ecrypt it and then send it on the net.i need an amazing security application which is in VB.
plz help
hey there,v are sailing in the same boat
|
|
|
|
|
i got this out of an article:
Converting a metafile to a 24-bit color bitmap is simple. Just follow these steps:
Create the memory DC.
Create the device-independent bitmap.
Select the bitmap to the created memory DC.
Draw in this DC.
Select the old bitmap to DC.
I have the Metafile Created. Howevere the above instructions do not make any sense. can anayone please help me?
thanks
|
|
|
|
|
here it is with no error checking and no cleanup - both of which are very important.
HDC memDC = ::CreateCompatibleDC(hDC);
HBITMAP memBmp=::CreateCompatibleBitmap(hDC, w, h);
HBITMAP oldBMP = (HBITMAP)::SelectObject(memDC, memBmp);
::PlayEnhMetaFile(memDC, emf, &tRex);
::SelectObject(memDC, oldBMP );
Cleek | Image Toolkits | Thumbnail maker
|
|
|
|
|
I have handle of file for read and write from/to COM port , but I dont know which COM port .
I want understand that this handle is attached to which port (Example COM1 ).
If you can please help me .
Thanks .
|
|
|
|
|
I don't think that I understand your question. I don't know if this[^] is of any help, but the classes are very nice for serial communitation..
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
You have a handle to a COM port but you don't know which COM port (e.g., 1, 2) it is, right? How did you acquire this handle?
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
I hook ReadFile API . Handle of file is in ReadFile hook parameters method .
|
|
|
|
|
See if this article is of any help.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|