|
A CView lives within a frame window, so the answer is "you can't". However, you could create a modeless child of the mainframe that occupies the entire screen.
/ravi
Let's put "civil" back in "civilization"
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Say I have a truncated string (Like thi...) in a column of a CList control. What do I need to wire up to display the full string in a tooltip?
- Nitron
"Those that say a task is impossible shouldn't interrupt the ones who are doing it." - Chinese Proverb
|
|
|
|
|
There is a tooltip control which is wrapped in MFC by CToolTip. There is all sorts of articles about using both of them here and on MSDN.
"No matter where you go, there your are..." - Buckaoo Banzi
-pete
|
|
|
|
|
I'm using a program (abc2midi) to create midi files, but I can't see the title, author and other information about the file when I play it with common midi or karaoke midi players. I downloaded a copy of the midi standard. Just wondering if there is a specific flag most common midi programs look for in order to display title, author and related information or if different midi programs do so differently. Are there any tools out there for adding title, author and so on to an already created midi file?
Basically, I'd like to get title, author, source and historical information to display on as many midi players as possible when the file is played. Any suggestions on how to go about editing a midi file to accomplish this.
Thanks.
Laura
http://groups.yahoo.com/group/cppdesign
|
|
|
|
|
Hi friends, I am trying to write JPEG parser/decoder. Does anybody know any good website to get info, specs for this project? I am specifically interested in finding resolution of JPEG right now. Thanks for help.
|
|
|
|
|
Try IJG library (intel jpeg libraray)
Jonathan de Halleux.
|
|
|
|
|
It looks like a great resource.. I am having little problem trying figure out the resolution tag.. Know what it is? I'd like to know what pixel/inch is used for the file.
|
|
|
|
|
I am wondering how to detect and block ping(ICMP packet) by programming ?
Is there anybody got the code? I need it!
Sincerely.
brapler
|
|
|
|
|
you'll need a ndis intermediate driver, which blocks ping packets!
Don't try it, just do it!
|
|
|
|
|
Thanks a lot , but I'm just wondring if there is any code example ? Anyway , I don't like to read docs .
|
|
|
|
|
I am searching for an easy way to paste a bitmap from the clipboard into a CRichEditCtrl.
I have already found various articles in the internet which discuss many ways to insert a bitmap into the rtf control either from file or from resource.
I have also taken a look at the MSDN Library sample "Wordpad", which I think works using OLE.
But I think those solutions are all to complex for my application. I only need the option to paste a simple bitmap from clipboard into the control without functions to use OLE to maniplulate the bitmap or inster other OLE objects.
So can anyone give me a hint/an easy way to paste a bitmap into a rtf control?
Thanks in advance.
|
|
|
|
|
CodeBrain wrote:
I have already found various articles in the internet which discuss many ways to insert a bitmap into the rtf control either from file or from resource.
...
So can anyone give me a hint/an easy way to paste a bitmap into a rtf control?
So did the articles you found offer no hints?
|
|
|
|
|
Of course. But I am a little bit confused about the various approaches. I am not sure if I must use OLE or if there is an other way to do it since I need a small solution and not the ultra OLE solution with all possible OLE objects.
The examples in the articles are very huge and full of OLE stuff.
So I want to get some information and experience from the users here how they solved the problem and maybe which examples from the internet they used. And my goal is still a easy solution and not the all-in-one ultra code
|
|
|
|
|
The post above is from me, just forgot to log in
|
|
|
|
|
Hi
There is a help-file made by a former collegue called 'MyProgram.CHM'.
He made the help file splitted by two languages, dutch and French.
If the user wants help, he can press F1 or push a button and the next code is called: 'WinExec("hh MyProgram.chm", SW_SHOW);'
and the help file is opened. The cursor is on the dutch part automatically.
Now, if the user is in the french version of the program, the same file should be launched but putting cursor on the french part).
So, i have a result help file but i want the french users not to see the dutch version of the file, but directly the french version of the file.
Anyone any ideas?
greets
Jens
|
|
|
|
|
Hi,
I have a thoroughly odd problem and really no longer know where to look. Any possible pointer would be very much appreciated.
Problem: I have two programs which are basically used to send/receive data blocks on a serial port. Some time ago I got me a USB to serial port converter with which both software sets used to work very, very well because the drivers that come with the converter make it seem as if there is simply an additional serial port. From the point of view of windows programs using window's standard serial port interfacing methods there is no discernible difference between a normal serial port and the converter.
In both programs the data transfer (receive and transmit of a data block) is done by means of window's ReadFile and WriteFile functions. Under all pre-XP versions of Windows both programs work OK. Under XP though there is one that does not while the other one still works perfectly. After much debugging etc... I found that in the one case a received data block is still read correctly by means of the ReadFile function. In the other case The data block that is read is strangely modified. The modfication is such that if say a 9 byte data block is sent I do receive all the bytes, the bytes are correct but the order in which they are received is different from the order in which they were sent. To illustrate (bytes shown as decimal values):
actual block of bytes is: 09, 02, 33, 68, 97, 116, 97, 35, 156.
Bytes read by Readfile : 02, 33, 68, 97, 116, 97, 35, 156, 09
As shown above the first byte of the nine byte block ends up as the last byte. Also, it does not make the slightest bit of difference whether I read the nine byte block in one go or byte by byte. The result stays the same. I meticulously checked that there is no additional byte identical to the first one following the
data block and there certainly is not.
I am really stuck here and therefore any help or suggestion as to what may be doing this would be much appreciated.
All for now,
Filip
|
|
|
|
|
Hi again,
The question above is now irrelevant, The odd sequences stem from the fact that subsequent ReadFile operations yielded chunks of multiple consecutive identical blocks. The problem appears to be timing related, by delaying the data retrieval slightly it is now working OK.
All for now,
Filip
|
|
|
|
|
Hi all
How i can determine whats hardware device set up in computer
currently, keyboard for instance.
Ie. currently in my computer i has certain model of keyboard and i want permit execution of my application if one launch in computer without its model.
Thanks.
|
|
|
|
|
Maybe this site can help you.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput.asp?frame=true
|
|
|
|
|
as far as i know, it's not really possible to detect what keyboard model u are using without directly querying the keyboard via hardware I/O.
Don't try it, just do it!
|
|
|
|
|
I am trying to modify the executable of a game to allow it for more players to join a multiplayer game. The number of maximum players was defined in teh code as NETGAME_MAXPLAYERS, however i don't know if it was done using #define or just declared as a global variable or something, but i found that because i found some debug information in the executable while looking at it with a hex-editor. Now i don't know what approach i should take, i thought that the most logical approach would be to use a debugger such as SoftIce to go over the code line by line in assembly language when i know it will check for the maxplayers value. But i don't know much about "reverse engineering" and so i was wondering if anyone knew any good tutorials about this sort of "cra.. err reverse engineering"
Thanks
Kuniva
--------------------------------------------
|
|
|
|
|
lol, ok.. some words on reverse engineering:
1. it's illegal to disassemble copyright software!
2. there aren't any 'real' tutorials about that! (if u want to learn it, read cracking tuts)
Don't try it, just do it!
|
|
|
|
|
eh ok thats kinda what i was already doing, lol. I was just hoping that maybe there would be tutorials that were written more from a programmers point of view. heh. i guess not
Kuniva
--------------------------------------------
|
|
|
|
|
BTW, from fravia's site:
Reverse engineering a program you have legitimately bought and studying or modifying its code is perfectly LEGAL, at least in the European Union, as long as
* You do it only for your personal use or for "educational purposes" (i.e. study)
* You do not use big chunks of the code for applications you SELL
Thanks god i live in Europe
Kuniva
--------------------------------------------
|
|
|
|
|
I am doing some DLL functions for embedded device running on WinCE and PC application. Just want to know if there is any data difference between them so that it is easier for me to maintain the codes later on.
For example in WinCE use wchar_t, so got to use a generic TCHAR so that WINCE and PC can do the respective conversion.
|
|
|
|