|
amitmistry_petlad wrote: ...but it add item at first position in the listview...
Only because you have 0 hardcoded as the item number.
Are you adding items in a for /while loop?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
hi
The number that u have used for inserting in the listview might be overlapped.
Check it.
Better test by testing inserting 10 items as
for(int iListIndex=0; i<10; i++)
{
//code to insert in listview;
}
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
|
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
|
and here enters the blast
|
|
|
|
|
Some idiot did not like it but
|
|
|
|
|
brahmma wrote: Some idiot did not like it
Well, you got my 5!
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
|
|
|
|
|
Thank you very much Wes Aday. I am very glad that you liked it.
|
|
|
|
|
Hello comunity,
does any one hear something about this func., can anyone say me where do learn about this search function, how to use and something about this!?
Is that something what we can use in c++?
thanks
break;
|
|
|
|
|
break; wrote: does any one hear something about this func
No.
I never come across this function. Where do you heard it ?
|
|
|
|
|
Is it a Matlab thing? What are you wanting to do?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hello David,
i hear that this is a faster function to search in large text,
so i want to hear other arguments from comunity, i want more info about,
that is the reason why i ask, i never use them before!
regards
break;
|
|
|
|
|
Hi
i want to know how to fix a cursor to a particular dialog using clip cursor.
|
|
|
|
|
Use the GetWindowRect[^] API function to get the bounding rectangle of the window in screen coordinates, then use the ClipCursor[^] API function on this rectangle to lock the cursor.
An example of this procedure can be found here: MSDN: Using Cursors[^] (see section "Confining a Cursor").
|
|
|
|
|
We've here the unlucky situation that the recorded message includes the last DTMF-tone that was used to stop recording (voice-mail system).
Since we cannot prevent this DMTF-tone being written, the only solution is to strip the last 200-500ms from the recorded WAV-file afterwards. This action can be done when the WAV-file has been closed.
My question now is:
Has anybody an idea and/or reference how to strip 200-500ms from a WAV-file? Example code? I've load programming expeerience (kernel development), but fideling in WAV-files is completely new to me.
All WAV-file parameters are already known and fixed.
Thanks a lot!
|
|
|
|
|
The files are written in chunks of data following the WAV file specification. There is an api with several functions beginning with 'mmio' you can use to more easily manipulate the files.
So, then, use the api and re-write the file leaving off the last 200-500 ms, or else truncate the parts of the data and re-write the header portions appropriately controlling the last chunk(s) in the file.
If you know the data size, sampling rate, etc. it should be easy to calculate how many trailing samples to discard to drop off 200-500 ms.
|
|
|
|
|
In my project,there are a lot of global members.
To my surprise that I found two of the global member has the overlapped memory address.
For example:
member a begin at address 0x00457280 and the size of a is 14D(hex)
member b begin at address 0x00457380 and the size of b is 848(hex)
obviously the two member overlapped!
But why?I have no idea on finding out a solution!
WINXP+VC6+SP6
Don't look at me in that way!
|
|
|
|
|
white jungle wrote: In my project,there are a lot of global members.
BAD
white jungle wrote: To my surprise that I found two of the global member has the overlapped memory address.
For example:
member a begin at address 0x00457280 and the size of a is 14D(hex)
member b begin at address 0x00457380 and the size of b is 848(hex)
obviously the two member overlapped!
But why?I have no idea on finding out a solution!
Can you tell more about that variables, how are declared and so on...?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
white jungle wrote: member a begin at address 0x00457280 and the size of a is 14D(hex)
member b begin at address 0x00457380 and the size of b is 848(hex)
How are you verifying this?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
hi i am new to mfc.now i am doing in tab controls i am having two items in tab. how can i change the items color ie the text color. please help me
|
|
|
|
|
See Here[^] and here[^]
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
hey as you are new to VC++ i would suggest that you try this later wen you have done lot of codin in vc++.
but if you really want to do it then you need to draw an owner draw tab control
http://www.codeproject.com/tabctrl/customtab.asp
check this out and let me know if you have any problem
|
|
|
|
|
How to Trojen horses enter my mac using opn ports ?
My exact question is, i have an application which has an open port on which a socket is listning and accepting connectins but not accepting any further commands until he connection is authenticated, how is it that a virus has got through my appliction and enterd the system.
any help would be greatly appreciated.
DK
|
|
|
|
|
How Trojan Horse Works?[^]
PS: You *may* also have to refer to the Noobs Treatment Area in my signature, since it *might* help you.
|
|
|
|