Thanks guys, i got it. the issue was i thought that the output will start counting from the index i told it to. it only searches starting on the index, but output will be based from counting from the start of the file. Thanks!
there is a problem existed in window7 and vista, if we set the autorange for the desktop application, that we can't send LVM_SETITEMPOSITION message, or it'll always return FALSE, why? it can take effect in windows xp.
I use blocking mode at most of time, except creating a new connection to server.
I turn socket into non-blocking mode first, then use select() to check the socket before turning back.
Just an idea, you could use a "master thread" to check for timeouts and close socket handles. This should make threads return from blocking connect() calls if necessary... and you can remove the select-timeout-code (untested).
Have gone through some application made in WPF and saw their painting means, drawing of controls, image etc..
They were just amazing.
One thing to be asked is how internally they are managing such fast, flicker free painting.
I tried to achieve such kind of optimized painting in Win32 or MFC applications, but to no success.
Please tell me which all points I am missing. Where I should look for concerned resources.
Thanks for your time.
Last Visit: 31-Dec-99 19:00 Last Update: 2-Dec-23 2:28