What do you mean by "not visible"? Do you get an error, blank page, or what?
Roger Scudder
Posts
-
operating system -
Calling HtmlHelp() from dialog failsWhen I try to launch the HtmlHelp API function from a dialog box the window seems to be created but it is not shown. After that I have lost control of the help window and can no longer launch it from other parts of the program. The program is an MFC Dialog app. I can successfully launch the help window from the main dialog. I'm only having trouble from a child modal dialog. Here's how I am calling the function... HWND hwnd = HtmlHelp(::GetDesktopWindow(), ".\\MyProgHelp.chm", HH_DISPLAY_TOPIC, NULL); Thanks for any help!
-
Linux Rules!!!Yes it is. This person reminds me of my children when they fight over who's toy is better. It is really a shame that people (children?) do this stuff. I think Linux is a great system. It's not (yet ready for) for the average user, of course, but it is definatly a viable alternative to other UNIX systems.
-
Need GetModuleFileName for UNIX.There are many flavors of UNIX. You will need to look at the system calls available for the flavor you are coding for.
-
CodeGuru sold again!I intended to refer to the people who are responsible for the attitude expressed in recent Dice ads. If I refered to managers in general I apologize for communicating poorly. :-O
-
CodeGuru sold again!Judging by the tone of recent dice ads, it seems earthweb management sees developers as a shallow, money driven lot who only care about trading up to the highest bidder. I find that revolting. It's a shame about CG, I mean, I sure hope someone will host it... but good things often come to an end sooner than we would like... and with the way the market has been going lately... well, it's not suprising. Thanks for passing on the info. Roger
-
The Lounge is NOT for programming questionsOh... don't get me started! ...exactly what has happened at my place... and they have sales people who only use a PC for email with the new 19" monitors running at 600x800.
-
The Lounge is NOT for programming questionsOh... don't get me started! ...exactly what has happened at my place... and they have sales people who only use a PC for email with the new 19" monitors running at 600x800.
-
The Lounge is NOT for programming questionsOh... don't get me started! ...exactly what has happened at my place... and they have sales people who only use a PC for email with the new 19" monitors running at 600x800.
-
Reading delimited files...To add to what Michael has given you... Text file are usually much easier to handle if you use CStdioFile instead of CFile. CStdioFile allows you to easly read each line in a loop. For example... CStdioFile f; // construct a CStdioFile object char buffer[256]; // define a temp buffer while (f.ReadString(szBuffer, 255)) // tokenize string and process Roger C.
-
Inserting text into fileFirst I would say that you should understand that the access mode "r+" means read with update... where update means "change". Even though it is, in theory, possible to add data to the middle of a file, I don't know of any way to do it using a language like C. You could possition the file pointer to the insertion point, copy the remainder to a temp holding space such as memory, or a scratch disk file, reposition the file pointer to the insertion offset and overwrite the file with the insert data, then append the data from the temp holding space.
-
Modem functions in C++If you need a quick and dirty communications application you can use the MSCOMM control. Then you really will be using COM. :) p.s. I think you should go with the WIN32 communications API as you are in school and should be learning from your assignment. You'll have plenty of time for Q&D apps when you go to work.
-
prank? I like it anyway...Yeah, that's him... and, I may be wrong on this, but I think at middle row far right is SB