|
I have a (hopefully) simple problem. I want to create a custom control in C++, with or without MFC, that i can compile into a dll and use that control elsewhere eg other MFC apps and a .NET app. Whats the easiest way to do this?
|
|
|
|
|
MrNed wrote: Whats the easiest way to do this?
By Creating an MFC Extension Dll.
Nibu thomas
Software Developer
|
|
|
|
|
But that project creates a CWinApp class. How do I say create a CButton derived class and use that as the custom control elsewhere?
|
|
|
|
|
Is there any way to get the list of favourites items we added to MSDN library installed in System?
(Like storing the book mark in IE?).
This will be useful when we format/reinstall OS
|
|
|
|
|
Well, I saw that the list of favourites from MSDN and the one from IE are the same. Do you have separate lists? Thanks in advance for your answer.
|
|
|
|
|
what i was asked abt to store MSDN( installed on PC) favaourite
IE uses different list!!!
|
|
|
|
|
Hi All,
Can anyone tell me how to set group box text at runtime?
Thanks and Regards,
Anil
|
|
|
|
|
Using SetWindowText(...) .
Nibu thomas
Software Developer
|
|
|
|
|
how can i prevent increasing the system volume above 25%?
JAYARAJ
|
|
|
|
|
Hi
I have used shchangenotifyregister to monitor file system changes. In case of Win2003, I am getting two notifications for each event. Does anyone know the reason why redundant notifications are obtained. Is there any way by which only one notification can be obtained. Thanks in advance
|
|
|
|
|
Hi.
I have a few files (NASM assembly code) that are part of a MSVC project. I have custom build commands that compile the files and that works fine. But I would like to only build these files if a certain preprocessor definition exists. (I already only use the NASM code if "USE_NASM" is defined, so I would only like to build the files in that case.)
Is this possible? Does anyone know how it can be done? Or will I have to create a new project configuration that does not include the custom build commands for those files?
(I'm using MSVC6.)
Thanks in advance.
CambridgeGuy
|
|
|
|
|
how to delete the trayicon started by another app.
I only have the Trayicon App's HWND, and i do not know its uid and callback function ect...
can anyone help me for deleting the trayicon by using my own App.? i appreciate for
if it is deleted, how to restore the trayicon just being deleted
I know the MSN plug-in can hide the trayicon and the windows of the MSN.
It really convenience that officer can use this to hide the MSN when the manager coming when they're using MSN to contact with friends.(because the manager thought MSN was a waste of working time)
I thought [ShellRegisterCallbacks] could do this.
Using this callback function can forward the [Shell_NotifyIcon] function to a custom shell.
But this way can only work when the MSN runs after the app, I don't know how to do this when the MSN has already run.
hi
|
|
|
|
|
Read This[^] article
You have an apple and me too. We exchange those and We have an apple each.
You have an idea and me too. We exchange those and We have two ideas each.
|
|
|
|
|
Has anyone ever delved into this?
I have found plenty code on the net but none actually removes the space where the start button was, ie: resize the task buttons area to take up this space. (StartKiller does it properly, somehow)
Thousands of code snippets out there which are all basically
FindWindow "Shell_traynotifY"
findwindowEx "Button"
ShowWindow SW_HIDE
This clearly doesn't work!
If anyone knows anything PLEASE help me out here, im going grey
All your source are belong to us!
|
|
|
|
|
AndrewVos wrote: Thousands of code snippets out there which are all basically
FindWindow "Shell_traynotifY"
findwindowEx "Button"
ShowWindow SW_HIDE
This clearly doesn't work!
If anyone knows anything PLEASE help me out here, im going grey
After you hide the button why don't you try moving other windows to the left.
Nibu thomas
Software Developer
|
|
|
|
|
|
|
|
Sir,
I have a requirement, as our application is running user
must not be able to close / minimize our application and also Alt+Tab key combinations must also be disabled.
i have tried this using Win32 app.
i have used AfxRegisterWndClass();
and CreateEX(); in CFrameWnd consructor.
this works fine . but my problem is how to do this in
SDI i am able disable close window button by registring the class in PreCreateWindow();
but where i must call CreateEx() with my customized call.since WM_CREATE is called for frame pls help me i am confused by calling sequence
thank u
Fly Like An Eagle With MIGHTY POWER.
|
|
|
|
|
Put this code inside OnCreate
CMenu *pSysMenu = GetSystemMenu(FALSE);
pSysMenu->RemoveMenu(SC_CLOSE, MF_BYCOMMAND);
pSysMenu->RemoveMenu(SC_MINIMIZE, MF_BYCOMMAND);
pSysMenu->RemoveMenu(SC_MAXIMIZE, MF_BYCOMMAND);
ModifyStyle(WS_MINIMIZEBOX|WS_MAXIMIZEBOX, 0); Nibu thomas
Software Developer
|
|
|
|
|
Hi All -
In a nut shell, I'm having the hardest time coding this project I have.
Basically the project is take a data file filled with infix arithmetic expressions, parse them out one line at a time, evalute each expression by converting it to postfix, then print the infix arithmetic expression in infix form. I must use classes to do this. my solution has 3 classes, one for the tokenizer, one for the nodes, and one for the expression tree.
Has anyone had a similar project? Care to share your code, I have so many errors, its not even worth me posting my code. I'm really looking for guidance on this coding wise. Any past projects like this would be a great start for me to kinda mould from.
My project is in C++ code
-- modified at 18:07 Tuesday 21st March, 2006
|
|
|
|
|
I have an application that spawns a process (CreateProcess(...)). The only debug output from TRACE comes from the active project in my workspace (the application). How can I debug the child process from the Visual Studio? MSDN gives instructions on how to attach to an external process, blah, blah, blah, but that must be for a new version (.NET?) because all the menu options it talks about don't exist for my version of Studio. I'm trying to figure out why the thread I've created in the child isn't handling messages correctly from my named pipe. Any help would be greatly appreciated.
Phil
|
|
|
|
|
how can I code some words by c++ and decode them??
x*d%(p-1)*(q-1)=1
n=p*q
public key(x,n)
private key(y,n)
thanks.
maryam
|
|
|
|
|
|