|
Query:
I am building an MFC app. I try to open the resource file and I get a red circle icon with a white asterisk inside that says the "resource is open in another editor".
I then close all files (presumably) and restart. I get the same message from the resource. What's up w/ that? Nothing is "open"....
thanks
|
|
|
|
|
hi,
"resource is open in another editor" is coming when you already open the resource file.You can open the resource file twise.
thanks..
|
|
|
|
|
Hello. How can I do the following: when choosing some item from a popup menu (with a right button click) another popup is shown offering some things to do with that item. I don't need it to do classic way that is to use InsertMenu method with MF_POPUP flag but so that this additional menu is shown only on mouse click.
|
|
|
|
|
Handle WM_MENURBUTTONUP to know when the user r-clicks a menu. In response to that message, call TrackPopupMenu() again with the TPM_RECURSE flag.
--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ
----
Pinky, are you pondering what I'm pondering?
I think so Brain, but how will we fit the hamster inside the accordion?
|
|
|
|
|
|
Hi Dudes,
How to compile HTML files like we do in HTMLHelp Creation. Is there any SDK to do that.
Thanks & Regards,
Promise (hmmm... I am afraid of it).... Some times.
If you have in the cause and
the means and in God, the hot
Sun will be cool for you.
|
|
|
|
|
DELIVER THE PROMISE wrote:
Is there any SDK to do that.
Yes. Click here[^].
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Hi Bhavani,
Thanku very much.
I don't want to create HtmlHelp. But I want to compile Html files so that I can create an Ebook creation software. This software takes the HTML files as an input and produce an Ebook. I have to create such type of software.
Thanks for all that help.
Promise
If you have faith in the cause and
the means and in God, the hot
Sun will be cool for you.
|
|
|
|
|
am using the MFC Dialog Box project to make my program and i created another Dialog Box as my update window for the program am making.
so visual studo made the class created an object like
UDP UBox;
UBox.DoModal()
and it worked only problem is when i press Ok the update Dialog Box it close both Dialog Boxes how could i stop this i want the Dialog Box to stay open
|
|
|
|
|
Where do you call your DoModal?
<italic>Work hard and a bit of luck is the key to success.
|
|
|
|
|
in my
Onbutton_press
{
//here
}
|
|
|
|
|
You might have done something bad there
<italic>Work hard and a bit of luck is the key to success.
You don`t need to be genius, to be rich.
|
|
|
|
|
Hi !
I'm working to create a HTTP Server in C++, Win32API.
By now, it can be used by a remote client to retrieve an HTML/PHP file and it can translate the GET, HEAD and POST methods.
I've just a problem with PHP.exe : when I use a PHP page which call "session_start"... functions, a new session is created.
Somebody could help me to bypass this bug ?
|
|
|
|
|
tom87@21 wrote:
when I use a PHP page which call "session_start"... functions, a new session is created.
Looks like you're not passing the cookie for the existing session in your GET/POST request. Alternatively, your server may not be returning the session cookie to the client. If no (valid) session cookie is passed to the PHP page, a new session will be created.
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
We have an MFC/Win32 application that is accessed by clients through a shared folder on the server. (similar to SourceSafe). Client computers usually have a mapped drive to the shared directory and have a shortcut to the application.
Client systems with XP Service Pack 2 installed now display a warning message box every time the application is about to be executed; the message box indicates that the application does not have a valid publisher certificate. This is understandable because of SP2's heightened security measures and the application is being "downloaded" from a network resource. My objective is to "remove" that warning.
Can anyone enlighten me on the process of validating/signing the application with a valid publisher certificate? From what I have read you need to acquire this from a Certificate Authority. I was under the impression before that this was usually reserved for things such as ActiveX controls or any executables designed to be deployed/used through the Internet.
Is there also a way to certify the executable without acquiring a certificate from a CA? I seem to have read that you can have a private certification server on your LAN to do this, I'm not sure (yet). Since it is an internal/LAN environment this might be more suitable, if possible.
This is quite new to me. Any help would be appreciated.
|
|
|
|
|
Hi, everyone
My question is simple:
How to create process in memory using winapi32 functions or any mrc code..
How to tell to the OS to launch new process from memory address I specify?
Thanks in advance!
|
|
|
|
|
Hi!
I am programing plug-ins for 3ds MAX and never deal with hardware earlier.
There is some 3D glove produced by www.essentialreality.com. So am going to write plug-in which enables users to work with this device inside the MAX.
So first question that appeares - how to reach this device and its output parameters.
I am downloadig SDK from essentionalreality site just now.
And hope it will help a. But this area is very new for me so any your help is essential.
Thanka a lot.
|
|
|
|
|
Most obviously the SDK already allows access to the device driver of the glove. This level of abstraction is useful as it provides means of getting data from the glove without worrying about the actual USB interface. The better the SDK is, the more lower level access it allows.
You should download the SDK and see it's documentation. I'm sure it will provide you with a good kickstart. I believe that the glove driver is primary emulating a mouse's behaviour in Windows (thus working automatically in 3DS Max)
It then depends on what you wish to do with the glove. Write the plug-in so that you can first use a mouse to do the things you please. Then take the glove into use, and see the SDK for any special properties it might have (such as 3D movement), and utilize them.
-Antti Keskinen
----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
|
|
|
|
|
Hello
Can anybody tell me how to subclass MessageBox ... particular I need to subclass 'OK' button or I want to change background color of one messagebox... Can anybody tell me how can do this ??
|
|
|
|
|
MessageBox is an API function. Unfortunately, the dialog it displays isn't customizable through subclassing or through the mechanisms used by the common dialogs. Basic information on MessageBox can be found here[^] in the MSDN.
You can, however, replicate the functionality of MessageBox pretty easily. It's a simple dialog box that displays an icon, text, and up to four buttons. Once you've replicated it, you could customize it as necessary.
Software Zen: delete this;
|
|
|
|
|
If you use MFC you can use the AfxMessageBox() function instead. Then you can change the behaviour in CWinApp::DoMessageBox() to whatever.
|
|
|
|
|
You can`t subclass MessageBox, it`s API
<italic>Work hard and a bit of luck is the key to success.
You don`t need to be genius, to be rich.
|
|
|
|
|
Hi everybody, I got a short but rather difficult question: does anybody know how the Window SysTray clock can be hidden/replaced by another window? For example a custom window made by the programmer. This has been troubling me for some time...
Thank you!
The Greater Mind Balance
|
|
|
|
|
Hello buddy heer is solution
first using the FindWindow api find the Window that contain systray timer like this.
HWND hWnd=::FindWindow("TrayClockWClass",NULL);
and for hiding
::ShowWindow(hWnd,SW_HIDE)
and for replacing the Timer window,
craete a static value with parent class= ToolbarWindow32
and according to coordinate system of your computer place it over hidden System Tary CLock
-----------------------------
"I Think It Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
Hey, thanks for answering Alok. I didn't mention that my current project is in Visual Basic 6. It's more than a year old and back then I wasn't so much into C++ or C# ::- )... anyway, I handle VB6 pretty well and I can use API to call the FindWindow function and the ShowWindow function as well. I got a bit confused by the last thing you told me:
You mean create a window that inherits the ToolbarWindow32 class? That I don't know if I can do in VB6...
And another thing... as we all know, the SysTray clock has a fixed size, but what if I want my window to be a bit larger then that? Let's say I want it of a fixed size of 300 pixels.
Thanks again for helping. Anybody who helps will be in the "thanks to..." list of my program (which is going to be freeware) when I finish it. It's a clock with alarms, internet synchronization, calendar, to do list and lots of other stuff in it. It's gonna have at least 10 great functionalities, but I`m still only 30% done with it... this systray thing is pretty important because not all people have their taskbar on autohide like me ::- )
Have a nice day everybody.
The Greater Mind Balance
|
|
|
|