I have added 4 group Boxes on my Dialog based App and in Each Group there are 3 Radio Buttons.
According to the user's Selection, i want to get the combination of radio Buttons and Function according to the selection?
For Ex:- In one group Box there are 3 Radio Buttons say 600 DPI,
300 DPI and
and same in the other Group Box. Suppose if user has selected 300 DPI in one Group Box and 150 DPI in Other Group Box. Then i want to know how to get that user has selected so and so combination.
I m using GetCheckedRadioButon(1stRadioID, LastRadioID) but m not getting anything from that?
Please help me Out.
I'm assuming you're using an MFC based dialog application.
If this assumption is right, read on.
For the first radio button of each group, set its Group property to True.
Right click on this radio button and select Add Variable and create an integer variable.
The above step is only possible with a radio button whose Group property is set to True.
To get the user selection, simply call UpdateData() and the integer variable will contain the 0-based index of the selected radio button.
«_Superman_» I love work. It gives me something to do between weekends.
every one i have created the file using the createFile.
HANDLE temp_file = CreateFile(sourceFileName,GENERIC_WRITE|GENERIC_READ,/*FILE_SHARE_WRITE|FILE_SHARE_READ*/NULL,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_HIDDEN /*FILE_ATTRIBUTE_NORMAL*/,NULL);
in windows vista i have created but its getting deleted in windows 8 and windows xp .
what will be the reason .
My application am creating the file.i am calling the exe for the preview of the file after closing the exe the file is getting dleted,its working fine on windows 7 and vista even am not use the delete file API not the exe which am calling has no dletefile API ...
I try to catch a key press from a software usi RAW and Low Hook but i cannot have an result. I try to press alot of key but in my demo I can see and think?
I think that this has a function e.handle to handle key so we cannot capture anything?
Any body can help me solve this problem?
This is link of software which i cann't capture keypress http://download.game.zing.vn/laio/csmplay-setup.exe[^]
Web spiders request documents and parse them. During parsing, all links from the document are stored to be processed later. If you want to find sub-urls, you must do something similar. But this will not find URLs that are not linked.
For some URLs without a file specification you may get a directory listing containing all files and sub-directories. But most servers will send you a default page (often index.html) when no file is specified or deny the request (listing of directories prohibited).
You may use the GNU wget utility (also available for Windows) to perform such scanning. This command will download and parse all files and delete them afterwards while printing a line for each URL.
There is no standard directory listing method in the HTTP protocol. Directory listing is usually disabled (security hole) for most if not the whole site and even if its enabled you get back an index file if present (like with http://my.lotro.com/home[^]). Even if the get on the directory returns a directory listing its still a non-standard generated html page that you have to parse somehow. Its a waste of time trying to solve this problem because this can not be solved. Web spiders just follow links found on websites, they do not do directory listings.
For our company I have written (meanwhile some 15 years ago!) a data mapping tool. This tool has evolved over the years and it is currently in C++, using Microsoft Visual Studio 2010. One of the products for this tool is a debugger that shows what is happening and shows the source code lines where action is performed. This part uses a CEdit control.
We have included stuff like breakpoint markers and all that.
Recently I have come to think that it might be handy to introduce syntax highlighting for the source codes. Would anyone have any samples of a CEdit that can do that sort of thing (like changing the color of words, showing them in bold or italics and stuff like that) Would save me a lot of re-inventing the wheel!
Thanks in advance for any suggestions.
I created an SDI application with FormView. I fixed the main window size to 600*350 and placed the control over the dialog accordingly and it worked fine.
But now I magnified the screen (Control Panel\Appearance and Personalization\Display) to 125% on my win7 machine. Now my application dialog is adjusted as per windows magnifier but main windows(mainframe) size remains small (600*350) and FromView inside the mainframe is not completely visible.
I converted a Mfc project from VS2005 to VS2010.
Its compiled successfully.Now,the prob is that I am not able to launch application through release build output As It is opening through Debug Build output.
Any Ideas ?
Thanks & Regards
Last Visit: 31-Dec-99 18:00 Last Update: 26-May-17 16:48