|
Hi All,
I Need Help Regarding The Storing of Images in Oracle as
Blob Data Type Using MFC or Visual C++
|
|
|
|
|
|
Which message is send to an CRichEdit when SetWindowText() is called. I need to catch Messages send with SetWindowText()...
|
|
|
|
|
|
I tried to use WM_SETTEXT but i not very happy with that. I use the SetWindowText(...) method to display text from a function to my RichEdit. When I call five times SetWindowText only on WM_SETTEXT message arrives...
|
|
|
|
|
It sounds like the OS is queuing them up and sending them as one message. Perhaps you could explain your problem in more detail. It may just be that you are barking up the wrong tree!
|
|
|
|
|
Hi,
When I tried to debug every Opengl program (on Nvidia based Graphic cards) the visual C++ 6 jump
in the disassembly window even when I put breakpoints.
I tried with demo found in the Web and have the same problem.
In retail version, programs run fine.
Is it due to the non-debug DLL of opengl.
B->
|
|
|
|
|
kassad666 wrote:
Is it due to the non-debug DLL of opengl.
yes, these dlls of course do not contain symbols information.
~RaGE();
|
|
|
|
|
Any idea to overriding that problem?
Why MFC don't just make a call to the DLL and return?
Why does it show the disassembly window?
I think the problems begin with my new Geforce 4 card and the new drivers of Nvidia.
I don't remember having problem with Creative Geforce 2MX
B->
|
|
|
|
|
Anonymous wrote:
Any idea to overriding that problem?
Use the debug libs !! OpenGL is open sourced, you can get debug libs for debugging.
Anonymous wrote:
Why MFC don't just make a call to the DLL and return?
The debugger look for the symbols, and when it does not find it, open a window and ask for the location (which operation can be CANCELled). So if you can't provide debug infos (for examples in compiled dll) the debugger will simply go into the assembly code. What you can do is put a breakpoint after the function call, and hit F5
Anonymous wrote:
I think the problems begin with my new Geforce 4 card and the new drivers of Nvidia.
I do not think this has something to do with the hardware (unless the operations you try to debug were done in the soft before, and is now handled directly by the nVidia chipset).
~RaGE();
|
|
|
|
|
Hi,
Has anybody used WM_PRINTCLIENT message?
I m using the following SendMessage call.....
SendMessage(hWnd, WM_PRINTCLIENT, (WPARAM) hDCMem, PRF_CLIENT | PRF_ERASEBKGND | PRF_CHILDREN );
but this returns a black window.
Any clues?
Thanks,
peenu.
|
|
|
|
|
peenu wrote:
Has anybody used WM_PRINTCLIENT message?
Yes, although I usually use WM_PRINT with the PRF_CLIENT flag. Not all window types support the WM_PRINTCLIENT message, or WM_PRINT for that matter.
I assume you're setting your memory DC up correctly - creating and selecting a bitmap for it, etc.
Your syntax is correct, so if your DC is setup correctly and it still doesn't work, then the window you're sending the message to probably doesn't handle the message, and there's not much you can do about it.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
I used WM_PRINT. This gives me the bitmap of all controls in the form, but the form area appears black?
|
|
|
|
|
dear all,
i want to develop an application which is executed only through command line.
i don't want the application to be executed if someone double clicks on it. how do i implement this idea.
rIsHaBH
|
|
|
|
|
I you need some arguments, you can check the CommandLine at the begining of your program, and if it's empty, you can exit the program.
Hope this help
|
|
|
|
|
hi cedric
i want my app not to be executed if someone doubleclicks on it.
if i set the command line parameter in the properties
(eg. C:\winamp.exe "Here I am.mp3") of the exe file, then it will get executed on dbl click....which i don't want.
any clues!
rIsHaBH
|
|
|
|
|
You cannot avoid your app to be executed when a user double-clicks on it. But what you can do is what cedric did suggest, that is exit from your app before anything happens by checking for an empty command line. To the user, this will appear "as if" your app had not be launched. Of course, if your app has a command line, it will work normally.
~RaGE();
|
|
|
|
|
If you make one of the command line arguments secret then noone will know how to edit the shortcut to include the command line option.
I'm going to live forever or die trying!
|
|
|
|
|
If you make one of the command line arguments secret then noone will know how to edit the shortcut to include the command line option.
I'm going to live forever or die trying!
|
|
|
|
|
Hi All,
I need to read and display a raw image of size 134 * 104
using MFC application in Visual C++.the image to be loaded and displayed must have a *.raw extension.
How i want to change the *.raw to *.bmp
can anyone help me out.
Thanks
:_Rocket_:
|
|
|
|
|
I don't have the answer how to convert from raw to bmp but there is more information needed. What format is the raw data in? There are very many formats. Is it color or grayscale?
John
|
|
|
|
|
the file in pixel and it is grayscale
:_Rocket_:
|
|
|
|
|
I assume that 1 pixel is 8 bits, so there are 256 different sades of gray.
John
|
|
|
|
|
Hi, I want to mark items on a popup menu as checked or unchecked. Here is the code I am trying to use.
CMenu menuPopup;<br />
<br />
menuPopup.LoadMenu(IDR_MENU_ZOOM);<br />
menuPopup.GetSubMenu(0)->TrackPopupMenu(TPM_LEFTALIGN,point.x,point.y,this);<br />
menuPopup.CheckMenuItem(1, MF_CHECKED|MF_BYPOSITION);
The problem is that when I call CheckMenuItem nothing happens, and if I look at the returned value from CheckMenuItem it is 0xFFFFFFFF which means 'the menu item did not exist'.
What am I doing wrong?
Is there a better way?
Thanks, (bleary eyed on a Monday morning)
Ali
|
|
|
|
|
Does the MAIN menu have two items?
Are you trying to
menuPopup.GetSubMenu(0)->CheckMenuItem(1, MF_CHECKED|MF_BYPOSITION); ?
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen
|
|
|
|