|
BOOL PathFileExists(
LPCTSTR pszPath
);
|
|
|
|
|
Thanks so much!
Just what I needed!
-- narada
|
|
|
|
|
how to create a modeless dialog window which behaves exactly the same as the "downloading window" from the Windws OS. what I really mean? I don't want this window to disapper when i minimize the main application. If i minimize the dialog I want to place it on the task bar, not on the main screen.
Waiting for your advices....
|
|
|
|
|
try making the modeless dialog a child of the desktop, not of the main application. do this in the "Create" call to the modeless dlg. that should fix the minimize issue you describe.
-c
Image tools: ThumbNailer, Bobber, TIFFAssembler
|
|
|
|
|
This is my problem. I have to draw some lines over a media player control while it's displaying a video, and I can't do it. I just can do it if I don't load the video. Anyone can help me?
|
|
|
|
|
hello,
in CHtmlView how detect the user click on a link, and how get the link URL.
I want to block Ad popup, so i do :
void CSpy4WebView::OnNewWindow2(LPDISPATCH* ppDisp, BOOL* Cancel)
{
*Cancel = true;
}
that's why i want to detect if the new window is ad, or if the new window is called by the user.
thx for your help.
|
|
|
|
|
|
Thx Joan,
i'm trying to understand your code but it is hard for me...
|
|
|
|
|
You are welcome, the article was written in order to get the feedback from other CPians, so ask whatever you need and tell me whatever you think that should be improved.
|
|
|
|
|
Hello,
I work with CHtmlView, and i want to know the url of activate frame.
You know how to get this ?
thx in advance
|
|
|
|
|
I want to get the range of a window from other app not my app.
I used ::GetScrollRange() function but always failed.
can anyone tell me whether i can get to the purpose or not?
if yes would you please tell me how?
your helpful advice will be apriciate.
|
|
|
|
|
friends ,
Can u help me with some code which will detect a file if it s aMPEG-1 file or not ????
|
|
|
|
|
Is it possible to convert const unsinged char* to unsinged char*. If yes tell me how.
Reply me soon
|
|
|
|
|
Hm... why don't you try it?
const unsigned char* a = NULL;
unsigned char* b = NULL;
b = (unsigned char*)a;
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Using the C++ casts this could be written as:
const unsigned char* a = NULL;
unsigned char* b = NULL;
b = const_cast< unsigned char* >(a);
My opinions may have changed, but not the fact that I am right.
|
|
|
|
|
baah.. same sh*t!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
*raise index finger*
Maybe, but I AM more correct!
*index finger pointing at you*
;P
< edit >It still remains evil to cast a const away.
Big design flaw!< /edit >
My opinions may have changed, but not the fact that I am right.
|
|
|
|
|
jhwurmbach wrote:
but I AM more correct
Yes you are!
I'm going to update my current project and remove all C casting sh*t and replace it with C++ castings!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
use const_cast <unsigned char*=""> (YourConstVariable)
|
|
|
|
|
ups, typo - it should read :
const_cast<unsigned char*>(YourConstVariable)
|
|
|
|
|
I want to enhance the capability of my(MFC VC++) program. Right now it is just sniffing the network traffic. I want it to show the sniffing of differt packets in graphical form. How is that possible.
I dont care what ever type of graph or chart it may be.
Moreover I want to update it in the other thread now on certain event.
Plz refer me relevent sites/apis and try to guide me step by step as I am a beginner.
Reply me soon
|
|
|
|
|
Hi everybody !!
I have an application that needs to switch to several views. For this, there are buttons in the ToolBar (one for each view). But I want these buttons to be a group (so when I selecte a view, the corresponding button stays pressed until another one is presesd).
I tried using m_MyToolBar.GetToolBarCtrl().SetState(ID_MYBUTTON,TBSTYLE_CHECK) but it doesn't seems to work.
I know, it must be stupid, but I can't find it .
Thanks
|
|
|
|
|
Hi
I am looking for the Automation of Ms Office Files (.doc, .xls) to the Web Pages using VC6. Actually this automation should also be able to make the Web Pages' formatting to the standard format of the Web Page. How can i achieve this?
Lateron i also have to convert the jpeg file, Visio file etc. Can anyone help me out.
Thanx.
|
|
|
|
|
Can anyone tell me where i can learn, or how to do, the following??
i need to take in a 2X2 matrix from the user (all in just C ) and have the user input seem as though they are just filling in the numbers (ie the skelleton stays constant and numbers are entered at the %'s). here is a skelliton of how the results are to be displayed / entered..
yeah, looks like garbage here but looks relitivly descent in DOS; well descent enough for my prof.
printf("\nPlease enter your encoder matrix....\n");
printf("±±±±±°°°°°±±±±±°°°°°±±±±±° ÉÍÍÍÍÍÍÍÍÍÍ» ÉÍÍÍÍÍÍÍÍÍÍ» °±±±±±°°°°°±±±±±°°°°°±±±±±");
printf("±±±±±°°°°°±±±±±°°°°°±±±±±° º º °±±±±±°°°°°±±±±±°°°°°±±±±±");
printf("±±±±±°°°°°±±±±±°°°°°±±±±±° º %9d %-9d º °±±±±±°°°°°±±±±±°°°°°±±±±±",a[0][0],a[0][1]);
printf("±±±±±°°°°°±±±±±°°°°°±±±±±° º º °±±±±±°°°°°±±±±±°°°°°±±±±±");
printf("±±±±±°°°°°±±±±±°°°°°±±±±±° º %9d %-9d º °±±±±±°°°°°±±±±±°°°°°±±±±±",a[1][0],a[1][1]);
printf("±±±±±°°°°°±±±±±°°°°°±±±±±° º º °±±±±±°°°°°±±±±±°°°°°±±±±±");
printf("±±±±±°°°°°±±±±±°°°°°±±±±±° ÈÍÍÍÍÍÍÍÍÍͼ ÈÍÍÍÍÍÍÍÍÍͼ °±±±±±°°°°°±±±±±°°°°°±±±±±");
P.S.
is there an escape key that goes UP a line? (like how /r goes to the beginning of a line)
P.P.S.
should i just drop this and learn java? or is this acctually possible. it would be nice if there was some sort of pixel system in C. (my class hasn't covered such material yet. we're just at Files, but if there is where could i learn such material? )
Thanks to all who take the time to help a needy 1st yr EE.
|
|
|
|
|
When run under windows XP, the menu bar on my MFC application has a white background behind the text of the menu names, even though most of the menu bar is a gray color. When the menus are clicked with the mouse, the white portion grows. It's purely a cosmetic problem, but it looks cheesy.
You can see this problem by just generating a generic MFC application using the MFC app wizard, compile it, and run it. I'm using Windows XP pro, with VC++ version 7.
Thanks for any insights.
John
|
|
|
|