|
hi,
would anybody help me out ,how to draw BST in SDI mfc.
how can i use Inorder traversal recursive algo or there can be any other way
sohail
|
|
|
|
|
i have xxx.lib file in msvc++
is there any way ,we can convert .lib file to its corresponding source code
in msvc++.
|
|
|
|
|
are you trying to hack some Microsoft code ?
|
|
|
|
|
no.
you convert to Assembly (a.k.a. "disassemble" the .LIB). and, there are Assembly to C converters, but the C they create will be nothing like the original source.
|
|
|
|
|
can u suggest any tool whish disassembles the .lib file and also a tool which will assemble to C
|
|
|
|
|
In my Listbox and EditCtrl, I need grid.
How I can do it?
|
|
|
|
|
Dato(Baga) wrote: How I can do it?
Perhaps by asking a coherent question.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
hi everyone.
i want use dll in mfc project,without using lib and header file.
please help me.
|
|
|
|
|
If you know the names of the functions in the DLL, then you can just use LoadLibrary() and GetProcAddress().
Darka [ Xanya]
"I am not a slave to a god that doesn't exist."
|
|
|
|
|
aftr than useing GetProcessAddress ,i dont khnow how call function and pass parameters.
|
|
|
|
|
you need to take a pointer to a function that has been exported from DLL ,GetProcAddress in client will be returning that function's address which you need to assign to that pointer.
using this pointer you can call the functionality present in the DLL.
For Ex:
typedef void (* pFn)(int);
pFn fn;
fn=(pFn)GetProcAddress( );
fn();
mpk1979
|
|
|
|
|
tank you very much.
i used dll in my project successfully.
|
|
|
|
|
Hi all .
I have handle of a window . How I can change background color of it .
Thanks .
|
|
|
|
|
I had problems with this long ago when trying to use a HWND. I'm sure its possible though.
The way I know of is to overide this;
Enjoy Colin
BOOL CSampleView::OnEraseBkgnd(CDC* pDC)
{
// Set brush to desired background color.
CBrush backBrush(RGB(255, 128, 128));
// Save old brush.
CBrush* pOldBrush = pDC->SelectObject(&backBrush);
CRect rect;
pDC->GetClipBox(&rect); // Erase the area needed.
pDC->PatBlt(rect.left, rect.top, rect.Width(),
rect.Height(), PATCOPY);
pDC->SelectObject(pOldBrush);
return TRUE;
}
|
|
|
|
|
Thanks for your notice . My problem is that I have only a handle of that window and no it's class . I find its handle with FindWindow API then I can't use OnEraseBkgnd method .
|
|
|
|
|
Follow the sequence
Startup->programs->NortonAntivirus
How to delete Norton antivirus item from Program list?
|
|
|
|
|
Arul Joseph wrote: How to delete Norton antivirus item from Program list?
Right click on "NortonAntivirus" and select Delete from the context menu.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
|
How to delete the icon from TaskBar Permenantly? for example Mcafee virus is opened? The Virus Icon is displayed in the Tray of the Task bar.
|
|
|
|
|
Go to the program's settings and uncheck the box that says "show tray icon in taskbar" or whatever.
Another way is to uninstall Mcafee
Mark
|
|
|
|
|
hi,
I have created a active x control using MFC.
i want to know how to set or create a property page for a activex control created using MFC.
zari
|
|
|
|
|
My GUI looks not good, what can i do for looking some flashy or classical looks?
|
|
|
|
|
Use picture in background of your wins.
|
|
|
|
|
Hi
In my program, i use read/write mode for file operation. But it not working properly. Code as follows
fstream f("temp.txt",ios::app | ios::in )
kindly help
thanks
KK
|
|
|
|
|
kk.in wrote: But it not working properly
Fine, and we are supposed to guess what is going wrong ? And what you are expecting ?
kk.in wrote: ios::app | ios::in
You know that you will only be able to read the file (and I don't know why you used ios::app here, this is only usefull when writing to the file).
|
|
|
|