|
Doing that I get: error C2664: 'Create' : cannot convert parameter 6 from 'const int' to 'const char *'
This is referring to 0xE900.
Do you think it is possible to send me your code to gcorrea@cguelectronics.com in order to evaluate?
Thanks
|
|
|
|
|
Again the different class thing gets in the way. How about you read the documentation for your frame window vs. CWnd - that'll show you how the parameters fit in.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I had used differents parameters and ones don not compile, give me errors, others ones compile but give assertion failure but any works.
Could you Mr. Dootson attach your working code zipped to compare what I am doing wrong?
|
|
|
|
|
Thanks everybody. I had solved my problem
|
|
|
|
|
in Edit Control I Want to Add some charactor behind the cursor
How i get the Cursor;
thank you for help
|
|
|
|
|
|
I am trying to build an application which lets me view/copy files from an ipod classic without using itunes but i don't really know where to begin communicating with the ipod. I would be grateful if anyone could point me in the direction of a good library or some good info to help me write my own. I am looking to write the progam in C++ using borland builder.
thanks for the help
|
|
|
|
|
|
You might be able to find source code for EphPod, which views/copies files and music on an iPod without iTunes
|
|
|
|
|
Hi
I'm trying to get duplex pipes working. I can send from the client to the server but
not from the server to the client.
The reason is both the client and server need a read monitoring thread to check for
messages against the same file.
How do i do this without getting lockouts ? I can't use mutexes as neither the client
or server knows who's going to message next and when ! !
|
|
|
|
|
I have a feeling that pipes if you are decoupling the reading from the writing in the client, you'll need two instances of the pipe, one for the reader to connect to and one for the writer to connect to. This makes things difficult, as the server won't know if it's connected to a reader or writer unless you apply some protocol so the client tells the server pipe if it's connected to a reader or writer.
So - why do I think this? Well, if the client read and write functions are decoupled (i.e. in different threads), the writer and reader both need to open a pipe handle, as you can't be trying to read from and write to the same handle at the same time. However, each time you open a handle on a pipe, you need a pipe instance (created with CreateNamedPipe) on the server to service that connection.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Is your display name taken from the ZX Spectrum game of same name?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I think you're right. at present i've 2 threads using the same file handle.
after reading 'duplex' i thought it would work, but for what i want to do i
guess the only solution is to set up 2 pipes and 2 file names.
...and yes Hungry Horace is from the Spectrum game - the golden age of PC games !
|
|
|
|
|
HungryHorace wrote: after reading 'duplex' i thought it would work, but for what i want to do i
guess the only solution is to set up 2 pipes and 2 file names.
You should be able to do it with a single pipe - but allow multiple instances. Then you can open two instances in the server (one for reading, one for writing) and open a reading file handle and a writing file handle (both opening the same pipe name) in the client. The only issue then is coordinating all those end-points!
HungryHorace wrote: Hungry Horace
First computer game I ever played
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Hi,
I have to do some work with TCP/IP was Looking at MFC presentation of this.
One was The CAsyncSocket Class
I was lookig at a article one this and it mseems the Class Wizard gearates a
pointer to a Cdialog object
Why??? seems the notifications come from the Server/Client come by way of
Window messages
isn't this a bit of overhead as far as perfomance (would thought MicroSoft would issue
notification via a CEvent Class )
Does anyone have experince with performance regarding CAsyncSocket vs
WinSock
Thankx
|
|
|
|
|
|
Use a list-view[^] (aka CListCtrl[^]) and process its NM_CLICK[^] or LVN_ITEMCHANGING[^] notifications? The second one will be fired when an item is going to be selected, so you could cancel that and change its state? You cancel the change by returning TRUE from the nmotification handler, I believe, although that page doesn't say so - the Windows Mobile equivalent page[^] does say so!
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
All what i need is to use a modified CFontDialog which has font, font style, and size fields this modified font dialog should be called from an sdi application (Class edit view).
|
|
|
|
|
Did you see my link I think it was your answer?
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
i saw it but it did not help.
|
|
|
|
|
Why I saw it,that article was for remove some controls of CFontDialog and your question was it(if you want to customize this dialog you need to a dialogbox template resource.
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
Hi!
I'm looking for a way to make a bitmap that is already displayed in the dialog become transparent, when a button is clicked and vice-versa..
or just make it disappear and then make it appear again just in the same place..
is that possible? can you help me please?
|
|
|
|
|
Praystation2 wrote: make a bitmap that is already displayed in the dialog
How is the bitmap displayed?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
the bitmap is loaded when the dialog is initialized, but is defined as not visible, and i want to make it visible when i click a button.
i don't know if it's the best way since i'm a beginner in using MFC.
the point is to make it appear and disappear using a button, but it needs to start invisible
(sorry about my english)
|
|
|
|
|
Praystation2 wrote: bitmap is loaded
Into a control on the dialog?
If so, then one of CWnd::ShowWindow[^] (if you have a variable for the control) or ShowWindow[^] (if you just have a control ID) should be what you want.
Call the appropriate one with the nCmdShow parameter set to SW_SHOW or SW_HIDE to show/hide the bitmap's window.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|