|
Squallkin84 wrote: But I find some difficulty in playing music while the game is started.
Music will only play if you post your question in the C++/CLI[^] forum.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
I am so sorry .....
|
|
|
|
|
i wants to find a file in a given directory on MAC OS so can anybody tell me how can i use this method or other method which is able to find the file on given directory on MAC OS
Thanks & Regards
Banks
|
|
|
|
|
|
i am allready know this function is not on mac that why i posted this question on this forum and also i have written in this paragraph what is other function .
so if u know the other function then reply .
Thanks & Regards
Banks
|
|
|
|
|
If MacOS is OS/X, then you should be able to use opendir(), readdir(), e.t.c.
In OS/9, it's a completely different story.
|
|
|
|
|
Dear all,
I want to display(draw) a scroll thumb inside a window. for that I have to calculte the rectangle to draw the thumb
i have following data
1. Scroll Range - returned from a controll which is assiciated with this scroll bar. im drawing the thumb according to this value
2. the client rect of the destination window ( scroll window)
using this data, how we can calculate the scroll position. pls help me in this regard.
I have done some calculations but its not as a normal scroll bar
SaRath
|
|
|
|
|
hi my client has asked me for an IP and port that he will be opening for me so i can make web service call to his machine..
after doing some monitoring and some help my conclusion is, when we are makeing soapclient web service call we cann't force soapclient for specific port (e.g. request should be sent using port 2345 etc..)
so what should be my reply to client
MY IP and port 80 ?
------------------------------
Its not the fall that kills you; it's the
sudden stop at the end.
|
|
|
|
|
I have used a combox control in my program.
When I select item in the combox control, the item will be highlighted.
How to solve this problem?
Please help!
|
|
|
|
|
What problem?
|
|
|
|
|
The selected item was always being highlighted.
It is possible to make it not be highlighted?
|
|
|
|
|
LaHaHa wrote: The selected item was always being highlighted.
Override the CBN_SELCHANGE, use SetFocus to set the focus on the other control.
Maxwell Chen
|
|
|
|
|
if you want the selected iTem should be highlighted then you can use:
GetCurSel and SetCurSel
Cheers
"Peace of mind through Technology"
|
|
|
|
|
I have tried it.
After the SelchangeCombox(), I use the GetCurSel and then SetCurSel it again.
Is there anything wrong?
Please help!
|
|
|
|
|
LaHaHa wrote: I have used a combox control in my program.
When I select item in the combox control, the item will be highlighted.
How to solve this problem?
Set its type as Droplist instead of Dropdown
and one more problem for us is clearly specify your problem .
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
After select the item, the item will remain highlighted.
Please help!
|
|
|
|
|
LaHaHa wrote: After select the item, the item will remain highlighted.
Add the handler for CBN_SELCHANGE of the your combo box
in that handler set the focus to other child window .
this will definatly solve your problem.
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
Thank you very much!
I set the focus to other button, then it solves the problem!
|
|
|
|
|
Hi LaHaHa
BY default when you slect the item from Combobox it will remain highlighted.
Now ,, PLease describe what are you trying to do...
Cheers
"Peace of mind through Technology"
|
|
|
|
|
I would like to know how to make it display my selection but not highlight it.
Now I set the focus to other button, it is alright.
Thanks!
|
|
|
|
|
ICopyHook::CopyCallback works for folders. I need to know how to determine whether a file is about to be deleted, copied, moved, etc, so that it may be stopped if so desired. Any article / API, Reference.
Samiran
|
|
|
|
|
cnez wrote: ICopyHook::CopyCallback works for folders. I need to know how to determine whether a file is about to be deleted, copied, moved, etc, so that it may be stopped if so desired. Any article / API, Reference. Samiran
you can try ReadDirectoryChangesW, but it will work after event is happened!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
cnez wrote: ICopyHook::CopyCallback works for folders. I need to know how to determine whether a file is about to be deleted, copied, moved, etc, so that it may be stopped if so desired. Any article / API, Reference. Samiran
article dealing with same :- http://www.codeproject.com/file/directorychangewatcher.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Whats wrong with the following, actually my VC++ application is not calling ActiveX method it says "Object Reference Error", i can able to compile successfully.
brFileContent->Read (abData,0,2); //brFileContent is Binary Reader
Byte *pbManagedData = &(abData[0]); // Get starting point of Array (I can able to see Data and address here
axSimpleAdditionAtx1 ->FinalBy (pbManagedData); // Calling Activex
Method signature in ActiveX which is not getting called..
void VRMControl::FinalBy (BYTE* ByteValue, LONG Length) // Prototype
{
}
|
|
|
|
|
sivaprakashshanmugam wrote: Whats wrong with the following, actually my VC++ application is not calling ActiveX method it says "Object Reference Error", i can able to compile successfully.
brFileContent->Read (abData,0,2); //brFileContent is Binary Reader
Byte *pbManagedData = &(abData[0]); // Get starting point of Array (I can able to see Data and address here
axSimpleAdditionAtx1 ->FinalBy (pbManagedData); // Calling Activex
Method signature in ActiveX which is not getting called..
void VRMControl::FinalBy (BYTE* ByteValue, LONG Length) // Prototype
{
}
FinalBy (pbManagedData) //passing one parameter
FinalBy (BYTE* ByteValue, LONG Length) //required 2 parameters as length is not default argument.
Knock out 't' from can't,
You can if you think you can
|
|
|
|