|
Friends,
My question is related to the Add/Remove Programs dialog that can be opened from control panel of Microsoft Windows Operating Systems.
There are various enteries of curently installed programs there. These enteries are made by the installation program of particular appliation.
But from where this dialog box reads these enteries ??Actually i want to remove certain entry programatically. But i don't know from where to delete it. So that it cannot be shown in this dialog box. I can guess that this dialog reads these enteries from registry but i dunno where are they stored). Can any one tell me ?
|
|
|
|
|
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall Your uninstall program should remove these entries automatically when uninstalling.
|
|
|
|
|
Hi, I really nead a C (not c++) code for deconvolution of signals (not images)usign fft.
Is there anybody that can help me? I'll be very happy.
Thanks, Angeluna.
|
|
|
|
|
Hi!
How do I convert a hexadecimal number to decimal?
Thankful for your cooperation,
Stefan
|
|
|
|
|
hi,
use the following code.
char * hexstring= "A";
char * p;
int number = strtol(hexstring, &p,16);
Have A Nice Day.
Murali.M
|
|
|
|
|
hi,
in development system report is working fine. in application installed system, when i try to open the report, report is opened and closed immedeatly with flickering. unable to view the report. what's the problem. Any one help to me.
thanks in advance.
Murali.M
|
|
|
|
|
i Found solution for this. problem is using mysql odbc for database connection. mysql odbc driver is not installed on the machine and DSN is not properly configured.
thanks.
Murali.M
|
|
|
|
|
hi..
i am making a grid..and i am doin it like this
for(int x = 10 ; x <= 2000 ; x += 10) {<br />
pDC->MoveTo(x, -10);<br />
pDC->LineTo(x, -1000);<br />
}<br />
<br />
for(int y = -10 ; y >= -1000 ; y -=10) {<br />
pDC->MoveTo(10, y);<br />
pDC->LineTo(2000, y);
the grid is fine...
i am uing a CScrollView and so when i scroll the whole thing blinks and looks bad...
so i want to use GetClipBox..
if i use it..can someone pls help me out as to how should i implement it in my above code???
CRect clipBoxRect;<br />
pDC->GetClipBox(&clipBoxRect);
for(int x = 10 ; x <= 2000 ; x += 10) {<br />
pDC->MoveTo(x, -10);<br />
pDC->LineTo(x, -1000);<br />
}<br />
<br />
for(int y = -10 ; y >= -1000 ; y -=10) {<br />
pDC->MoveTo(10, y);<br />
pDC->LineTo(2000, y);
i dont know how to incorporate the clipBoxRect with my code in order to make the blinking go away.
can someone pls help??
tks for your time..really appreciate it..
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
use a memory DC draw on that dc and then transfer to main dc
a CMemDC class it available everywhere
in scroll handlers don't call invalidate call updatewindow
|
|
|
|
|
MailMonty is right, you should use a Memory DC to avoid blinkcing (and also override OnEraseBkGnd)
However, CDC::GetClipBox is useful to limit the redrawing.
First, if GetClipBox returns NULLREGION, no need to continue, no part of the window needs refresh. Next, the rectangle returned by the method represents the area to refresh, so you can limit the drawing to this area only.
A quoi rêvent les personnes qui nous font vivre ce monde ?
|
|
|
|
|
hi..this is regarding the anwer you gave me in codeguru regarding getclip box...
i am new in MFC and wouldappreciate if you could tell me how do i use a memory DC draw on that dc and then transfer to main dc please???????
would really appreciate your help...
also, i dont know how to use a CMemDC class annd have never used it before...so i am very new in that too....i would really appreciate if you could help....
tks a lot...
you can mail me at extremedotnet@yahoo.com.sg
tks a lot....really appreciate it.
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
Joseph R. Thomas wrote:
codeguru
.... Heretic!
Joseph R. Thomas wrote:
i dont know how to use a CMemDC class annd have never used it before
Have a look to this article: http://www.codeproject.com/gdi/flickerfree.asp?target=CMemDC[^], it explains well how to avoid flickering with a memory DC.
HTH,
K.
A quoi rêvent les personnes qui nous font vivre ce monde ?
|
|
|
|
|
huh???
where did activeX come in???
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
Read the article more carefully: the author explains how to avoid flickering in MFC application and for MFC activex
A quoi rêvent les personnes qui nous font vivre ce monde ?
|
|
|
|
|
i am very new in MFC....i dont have any idea about how to make the screen dont blink....i dont know what is activeX...
i am stuggling with the screen...now the active X?????
is is something that helps with the screen???
is active X and MemDC related???
do i have top use ActiveX too???
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
In the article, don't care about the section "Modifying a MFC Active X Control to use CMemDC", just read the section "Modifying an MFC Application to use CMemDC" and follow the steps described in this section. Just try it.
A quoi rêvent les personnes qui nous font vivre ce monde ?
|
|
|
|
|
Hi,
I have a module that performs configuration for a product. It uses access (via ADO) as its underlying db.
This module needs to start working remotely.
The most direct solution would be to access the remote database via a shared drive.
I am looking for alternatives (not excluding .net).
Any ideas?
Jeremy Pullicino
C++ Developer
Homepage
|
|
|
|
|
|
i created an SDI using formview. i wish to use half of the formview for visualization purposes, and the other half for placing dialog controls. how do i change the view size?
|
|
|
|
|
To change the default size of a Form view or scroll view, you can call:
SetScaleToFitSize(CSize(cx, cy));
I normally do this in the OnSize() to make sure I get no scrollbars after re-positioning all the controls in the view.
Roger Allen - Sonork 100.10016
If your dead and reading this, then you have no life!
|
|
|
|
|
thanx for replying. actually what i meant was how to set the visual view - white screen for drawing to half the window size so that i can place controls on the other half which is not on white blackground.
|
|
|
|
|
HI. I am new at socket but I have a question. Besides having alive or heartbeat msgs between the client and server, how else can the client for example know if the server is gone (say if a physical break in connection). Is there a call or something to almost like ping and make sure the other side on the socket I am using is OK?
Another question on similar lines. I I check to see if a socket connection is good every 5 sec. During that time, there is a physical break in connection and then reconnected before a check on the connection from the client etc. Will this mean that the connection is lost. A comparision is a telephone line versus something like a serial port. If a tel line is down, and you put it back, it is gone and you need to redial. If a serial port line is pulled out and then put back, it is still OK.
THanks!!
|
|
|
|
|
If you are using a CAsyncSocket then you can request a notification upon closure of a socket. If not, any read or write to a closed socket will indicate the same. Note that this is only a low level socket check to see if the TCP/IP stack on the remote computer is working - it doesnt tell you if the remote application is working, for which you'll need to implement your own 'ping' or timeout, if appropriate.
TCP will manage most of the temporary physical breaks in connections, and ensure that the connection remains valid - you dont need to worry about this. If it can't then the socket will be closed, which you can check for as above
|
|
|
|
|
How to write simple program for login password and each button can display function as help tool.........
|
|
|
|
|
"and each button can display function as help tool"
wat it means. give clear qns
Shanmuga Sundar.V
|
|
|
|