Type: Posts; User: saraswathisrinath
Search took 0.01 seconds.
Thankyou MR.Igor. I refer these pages and come back.
I'm Getting Real-time Data and Display the image in main screen. Using the InvalidateRect() method, I'm refresh the main screen(Image Area only - 768 * 256) continuously.
Now I opened a...
March 26th, 2013 03:35 AM
After long time, I came back and also my problem solved :).
I used the Buffer to store the data (1000 line of data) & used the memcpy function to copy the data in to the byte pointer....
March 20th, 2013 11:19 PM
Thanks Mr.Paul. Really the above examples makes me to clear. If any doubt, i will come back.
March 20th, 2013 06:37 AM
Thanks to support me. I'm beginner only.
I didn't use Queue before that. I learned the queue concept. By using the queue concept, feeling very difficulty.
I stored the data into the queue...
March 19th, 2013 06:34 AM
I Already removed Paint and run my application. But no changes in the result.
First I used Timer. called at every 1 milli seconds. This case I missed 15 to 20 lines. So I go to threads.
March 18th, 2013 05:49 AM
Hi Mr.2kaud & Mr.Paul,
Sample code like below,
PVOID pvData = NULL; //store a line data into a pointer
pvData = GetCardData(); //I'm just using this...
March 16th, 2013 12:30 AM
It could be byte.
I clearly understood. Thanks Mr.Paul. How can I copy the data from one memory block to another. That is, I will copy the PVOID pointer data into byte *pointer like below.
March 12th, 2013 11:42 PM
I have PVOID data only. But I like to draw real time image using byte array. So I convert this into byte array. I get that method from net and I used. After that only I noticed, my program getting...
March 12th, 2013 02:47 AM
In my project I'm using PVOID pointer to store real time data.
After getting this data I will convert the data into byte array, like below
byte *bPoint = NULL;
March 12th, 2013 12:51 AM
I will try & come back.
This hint really works good. Really very happy :) Thank to all Guru's.
BOOL CDaveDlg::OnEraseBkgnd(CDC* pDC)
if(refreshflag == false)
Mr.Dave, I will see the flickering when Windows erases the client area. I accept this.
If I set the background color means I recover my project from this problem?
Mr.Victor, I have the same...
I used the InvalidateRect Command in OnPaint of method on my 18th Post.
But, Today post, I used the InvalidateRect method inside the OnTimer method only.
so only I recover my project from...
I used the command like below,
Now, Flickering occurred the particular area (0, 0 ,1000, 256).
rect.left = 0;
rect.top = 0;
rect.right = ClientWidth; //1000
I read the CWnd::InvalidateRect page from MSDN.
But flickering occurred while using the command.
rect.left = 0;
rect.top = 0;
I'm used MFC Dialog, Both InvalidateRect(WindowHandle, NULL, false); & UpdateWindow(WindowHandle); commands are not working. WindowHandle means? & also arguments size are vary in that...
February 27th, 2013 11:19 PM
I Done the concept using your code. Really Very Happy.
Please find the attachment & run it.
I have one more doubt.
In that code I will replace the real time data like below in...
February 27th, 2013 04:31 AM
Thank you for your reply.
But I know only MFC :)
As you said I create the CreateCompatibleDC(hDC) in the Constructor instead of OnPaint() Method.
But if any other window appear under the...
February 27th, 2013 02:22 AM
Thank you Mr. Victor, Still now I used the below code in the next line SetFont() method.
February 27th, 2013 12:51 AM
Explicitly define the Font style :
SFont.CreateFont(15,7,0,0,FW_BOLD,0,0,0,DEFAULT_CHARSET,0,0,0,0,"Times New Roman");
Finally delete the...
February 26th, 2013 03:50 AM
Yes. First I was create the bitmap object and compatible device context in the window's create event,
But didn't worked, so that I wrote the code in paint event. May be My...
February 25th, 2013 11:35 PM
I tried the code and also felt little difficult. Here by I attached the code.
I want to display : Bit Count = 8 + Monochrome image display.
Code for Bit-count = 32 :...
February 20th, 2013 02:45 AM
Thank you so much Mr.Dave.
Reading this code little difficult to understand. B'cos I'm fresher.
Its OK I will study & try to use this code. If any doubt, I come back with you.
If this code...
February 18th, 2013 04:33 AM
Thanks a lot Mr.OReubens & Mr.Igor . I will study the above link and come back.
Click Here to Expand Forum to Full Width