Enhanced CIPAddressCtrl

Enhanced CIPAddressCtrl

Post by fabien.ben » Wed, 28 Feb 2007 19:53:47


Hi,

I need an IP Address control that works like the CIPAddressCtl MFC
component but accepting and displaying '*' characters for
multicasting.

I seqarch the interent but found nothing that can help me.

Any idea how to implement "easily" this control?

Thank you very much.

Fabien.

PS: I read that we can enumerate the 4 edit controls contained in the
CIPAddressCtl control. Do you know how to do it?
 
 
 

Enhanced CIPAddressCtrl

Post by Tom Serfac » Thu, 01 Mar 2007 00:48:42

You could override the control and replace the characters represented in the
OnChar() function. You'd have to keep track of the actual characters in
another buffer.

Or, you could just display different characters OnPaint() routine.

Tom