|
If the CWnd::Create function is overridden in CDialog , you can in CDialog and derived classes use only the overridden versions. To force the non-overridden CWnd::Create call, use
CDerivedDialog dlg;<br />
dlg.CWnd::Create(...);
Robert-Antonio
"A flower walked around a meadow. She saw a beatiful human and plucked off his head."
|
|
|
|
|
It's urgent!!!
I am developing a dialog based application which controls powerpoint slideshow. My problem regarding the application is stated below:
Suppose a slide has five item within it. So my application will generate five buttons. Now if ActionButton3 is pressed then item3 will be executed and so on. I have tried to solve this by "Shapes" and "Shape" but I can't do so.
Faisal
|
|
|
|
|
Hi,
I want to intercept the Paste operation in the windows explorer so that i can do my own stuff, like pasting unsupported content.
How do i do that?
Thanx n Regards.
I'll write a suicide note on a hundred dollar bill - Dire Straits
|
|
|
|
|
How do you mean "catch" paste?
If you want to paste unsupported content between you app and explore you need to write youself a namespace extension. Seach CP for namespace to get you started. It's not a task for the faint hearted - and make sure before you even start you understand COM.
If you want to paste unsupported content between your app instance one and your app instance two - you can just register a custom clipboard format.
|
|
|
|
|
for your kind information i have implemented a namespace extention and its working fine... Yeah its not for faint hearted, but its quite easy for me now...
Thanx for your reply though.
I'll write a suicide note on a hundred dollar bill - Dire Straits
|
|
|
|
|
Thanks a lot!
|
|
|
|
|
I have recently decided to analyze the PurifyPlus product from Rational. As a result of installing and running the Purify against my main project, I found that due to applied service packs, I also needed to get the Platform SDK from Microsoft. The iso name btw is 2600.2096.7.PlatformSDK_xpsp2_idw.iso.
Now after applying the Platform SDK and following the directions to ensure that the correct environment is in place for Visual C++ 6.0, I compiled my project and now get the following error at the linker level:
shell32.lib(shguid.obj) : fatal error LNK1103: debugging information corrupt; recompile module
I can not find any information as yet. Any ideas?
Paul Kennedy
Father/Son/Husband/C Programmer
What else could you ask for?
|
|
|
|
|
I used to get this when trying to use the microsoft layer for unicode.
I actually tracked it down to the MSLU being built (incorrectly on MS's part) with VS 7.
See here
http://groups.google.co.uk/groups?hl=en&lr=&ie=UTF-8&threadm=5EE8080C-9886-46AA-8939-D22A2289B7E9%40microsoft.com&rnum=8&prev=/groups%3Fq%3DLNK1103%26hl%3Den%26lr%3D%26ie%3DUTF-8%26selm%3D5EE8080C-9886-46AA-8939-D22A2289B7E9%2540microsoft.com%26rnum%3D8
I'm not sure about your case though. Was it the Feb 2003 platform SDK you installed? I ask as i have a number of projects that link to that lib using that SDK and they all work. DOes it link ok on release build?
|
|
|
|
|
Hi all,
i'm facing problem with POST request to webserver.
The webserver goes into infinite wait and does not respond anything to the
client.
Get request is working fine.
sprintf(buff,"POST //cgi-bin/cgi.exe HTTP/1.1\r\nHost:
sabi\r\nTransfer-encoding: chunked\r\nContent-Type:
text/plain\r\n\r\n10\r\n1234567890123456\r\n0\r\n\r\n");
I'm using winsock for sockets .
Know that there has to be something wrong with the request packet.
Have looked a lot and could not get any sample request.
Any kind of suggestion / links will be greatly helpful.
Thanks in anticipation guys.
Rgds....
|
|
|
|
|
I suspect you need a Content-length header entry.
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
It should not be.
Because the whole idea of specifying transfer encoding chunked is that content length is not needed and size of check preceeds the actual data of chunk. ( As per RFC 2616 - section 3.6.1)
pls correct me if i'm wrong as i'm relatively new to http programming.
Rgds,
|
|
|
|
|
My mistake, you are correct.
What server are you using? Do you know it supports chunked transfer? If it does do you need to configure the server to accept it?
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
maybe the packets sent back by the CGI don't arrive where they have to.
is the CGI-calling computer behind a server (on a LAN) without router ?
isn't the caller clicking the "STOP" button ?
do you have an idea of where it loops ? (breakpoints, etc...)
TOXCCT >>> GEII power
|
|
|
|
|
Have the web server installed on localhost for test purposes.
Moreover the cgi script writes a TRACE-LOG for debugging which is not TOUCHED in this case which means that the cgi is not at all invoked by the web server.
However if i send a standard POST request with content length specified it works fine.
The problem is when i'm using transfer encoding chunked in which content length header field is not specified and each data chunk is preceeded with the size of the data chunk in hex.
Its as if the server is in waiting state and is still expecting some more info.
Have looked up every where i could manage but could not find any example.
Pls help....
|
|
|
|
|
How can I get a jpeg picture's array of pixels to memory and draw it by OPGL function?Thanks a lot!
|
|
|
|
|
i assume u mean OpenGL by OPGL.
it is quite easy, you open the jpeg file, decompress it (there are a lot of articles about that on codeproject) and then you create a texture with it and put it on a 3d object, e.g. a cube, or a triange, etc.
Don't try it, just do it!
|
|
|
|
|
Hello people, i'm starting an application which will be a dialog, where i would be able to select something, then drop it somewhere else. I won't be dropping bitmaps.
For example, i'm thinking of placing a button with an line.
When i click on the button, i'd like to be able to drag a reference to the arrow, and when i release the mouse button, i'd like to get the position of the mouse and draw a line. It won't be a bitmap, as i will need to click on that area, where i released the line, so i can resize it. I will need a list of 'lines' with the position of the 'area' of each line.
I won't be using OLE, just WM_LBUTTONDOWN and WM_LBUTTONUP.
Do you have any tips on how may i start? any nice links where i could read something? i'm quite new with mfc. Is it ok to drag from a button? Any contribution will be appreciated, i'm not asking for code, but some ideas, or how could i implement them [some code ideas would be nice as well ]
Thank you very much!!
|
|
|
|
|
I suggest you look at the VC++ MFC Sample project "Scribble"
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
|
I can create and use a CHtmlEditCtrl just fine but when I try to delete it the code will not compile becuase the destructor is protected. I dont want to leak memory all over the place.
This seams basic. What am I missing?
Thanks,
Sean
|
|
|
|
|
Have you looked at Chris Maunder's Code Project article on using the control?
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
Yes but his article actually uses the view - CHtmlEditView - which does not have this problem. I have found no sample code that uses the CHtmlEditCtrl that can be placed in a dialog. It looks like the DHTML mapping macros will not work in a dialog either.
Thanks,
Sean
|
|
|
|
|
i want distinguish is a point is in a polygon. i kown polygon's each points's position and kown the point's position.
how can i distinguish whether the point is in the polygon or not?
|
|
|
|
|
A quick search in google will yield a whole series of algorithms.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|