|
|
Hello!
How can I insert a new menu to the view-menubar.
I tried
htest = MyMenu.Detach();<br />
GetMenu()->InsertMenu(0, MF_BYPOSITION | MF_POPUP, (UINT)htest, "test");<br />
in the OnCreate(...)->method of the CView and the CChildFrame, but I always
got an assertion (for example in afxwin1.inl, line 1075)
The same Code in CMainFrame worked (but it modified only the
menu from CMainFrame, not from the View...)
Alex
|
|
|
|
|
there is a fast way to upside-down a slider control?
|
|
|
|
|
Use the slider control styles. TBS_TOP places the tick marks on top and TBS_BOTTOM places them on the bottom. You can use ModifyStyle() to switch them around. TBS_REVERSED will place the high end on the left and the low range on the right.
You may be right I may be crazy -- Billy Joel --
Within you lies the power for good, use it!!!
|
|
|
|
|
|
|
I thought int cannt hold negative numbers
i "sympolize" an int variable with %d
e.x
test.Format("%d",int);
|
|
|
|
|
|
hm i dont understand
when i create a fuction or variable ..etc and
write Type : int
then that function / variable can take negative numberS?
|
|
|
|
|
|
|
Michael Dunn wrote: An unsigned int can only hold positive numbers.
Actually, non-negative numbers.
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
|
For example, I send a file for A to B(use a tcp/ip stream socket), that data may send block by block using a while, and at the side of B, the "IO completion" may queue on IOCP in another order.
1. Is it possible?
2. How to receive data in the right order?
|
|
|
|
|
|
I still can't believe.
For example, I send a file which is 1MB.
I post two WSASend.
the 1st sends 0.99MB
the 2nd sends 0.01MB
It is likely that the server will deal the completion of the WSARecv with the 2nd one.
Another question:
If two sockets connected in tcp/ip stream mode, then does N recv(s) works the same way, no matter how large N is? And don't know how many sends is called.
One word, socket only knows stream without any boundary information in the stream, is it true?
I'm new to socket programming.
Thanks for your help.
-- modified at 16:40 Saturday 27th May, 2006
|
|
|
|
|
For a scalable server, multithread is needed, how to reorder?
|
|
|
|
|
Can you show me how to resize a rebar!
Thank!
|
|
|
|
|
maybe it is some helpful to you Here[^]
whitesky
|
|
|
|
|
Hi All,
Can anyone tell me how to remove the "Create Shortcut" context menu from my namespace extension icon?
Thanks and Regards,
ANil
|
|
|
|
|
How can i add a bitmap button at each node in a tree control
-- modified at 7:53 Saturday 27th May, 2006
|
|
|
|
|
maybe it is some helpful to you Here[^]
whitesky
|
|
|
|
|
I am not getting the idea. plz help me.
|
|
|
|
|
Did you saw this exmple ?i think its good for you
whitesky
|
|
|
|
|
I am creating a XML file by using IXMLDOMNode and I am setting value to the node by using the function put_nodeValue(). But whenever I pass & it gets converted to &amp;
Similarly if I pass > it gets converted to &gt;
How to overcome this problem
Is there any escape seqeuence that should be added before passing value to the put_nodeValue().
Pls help
|
|
|
|