Click here to Skip to main content
15,895,283 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: RichEdit Pin
Michael Dunn18-Sep-04 13:01
sitebuilderMichael Dunn18-Sep-04 13:01 
GeneralRe: RichEdit Pin
_johan19-Sep-04 17:47
_johan19-Sep-04 17:47 
Generalwhy ATL based ACTIVEX control got flicker when Redraw Pin
max_xiayi17-Sep-04 12:54
max_xiayi17-Sep-04 12:54 
GeneralRe: why ATL based ACTIVEX control got flicker when Redraw Pin
Todd Smith17-Sep-04 14:12
Todd Smith17-Sep-04 14:12 
GeneralRe: why ATL based ACTIVEX control got flicker when Redraw Pin
greekgoddj11-Jan-05 22:49
greekgoddj11-Jan-05 22:49 
GeneralRe: why ATL based ACTIVEX control got flicker when Redraw Pin
greekgoddj30-Jan-05 23:13
greekgoddj30-Jan-05 23:13 
GeneralRe: why ATL based ACTIVEX control got flicker when Redraw Pin
greekgoddj31-Jan-05 3:14
greekgoddj31-Jan-05 3:14 
GeneralCan't make work FireOnChanged Pin
Anonymous17-Sep-04 11:22
Anonymous17-Sep-04 11:22 
Hi
I create in VC.7 an control and when one of property change it affected other,
and container should change this second property also.But when i test
my control in VB.NET affected property not changed(in property window),althoughi invoke FireOnChange for one.

<br />
//In header <br />
class ATL_NO_VTABLE CMyControl : <br />
	public CComObjectRootEx<CComSingleThreadModel>,<br />
	public CStockPropImpl<CMyControl, IDigDisplay><br />
	public IPersistStreamInitImpl<CMyControl>,<br />
	public IOleControlImpl<CMyControl>,<br />
	public IOleObjectImpl<CMyControl>,<br />
	public IOleInPlaceActiveObjectImpl<CMyControl>,<br />
	public IViewObjectExImpl<CMyControl>,<br />
	public IOleInPlaceObjectWindowlessImpl<CMyControl>,<br />
	public IConnectionPointContainerImpl<CMyControl>,<br />
	public IPropertyNotifySinkCP<CMyControl>,<br />
	public CProxy_IDigDisplayEvents<CMyControl>, <br />
	public IPersistStorageImpl<CMyControl>,<br />
	public ISpecifyPropertyPagesImpl<CMyControl>,<br />
	public IQuickActivateImpl<CMyControl>,<br />
	public IDataObjectImpl<CMyControl>,<br />
	public IProvideClassInfo2Impl<&CLSID_CMyControl, &__uuidof(_IMyControlEvents), &LIBID_MyControlLib>,<br />
	public CComCoClass<CDigDisplay, &CLSID_CMyControl>,<br />
	public CComControl<CMyControl><br />
{<br />
..<br />
}<br />
//All aboved interfaces include in com_map<br />
//and IPropertyNotifySinkCP inclued in connection_point_map <br />
<br />
//cpp<br />
<br />
// [id(1),firerequestedit,bindable]<br />
CMyControl()::put_FirstProperty(short newVal)<br />
{<br />
 m_firstValue = newVal;<br />
 m_secondValue = newVal + 1;<br />
<br />
FireOnChanged(1);<br />
FireOnChanged(2);<br />
}<br />
<br />
...<br />
<br />
//[id(2),firerequestedit,bindable]<br />
CMyControl()::put_SecondProperty(short newVal)<br />
{<br />
m_secondValue = newVal;<br />
FireOnChanged(2);<br />
}<br />
<br />
//[id(2),firerequestedit,bindable]<br />
CMyControl()::get_SecondProperty(short* pVal)<br />
{<br />
*pVal = m_secondValue;<br />
}<br />
<br />


Thats i miss here???
Thank
GeneralFlickering problem Pin
qur17-Sep-04 0:42
qur17-Sep-04 0:42 
GeneralRe: Flickering problem Pin
Jason De Arte20-Sep-04 12:56
Jason De Arte20-Sep-04 12:56 
GeneralRe: Flickering problem Pin
Jörgen Sigvardsson20-Sep-04 13:47
Jörgen Sigvardsson20-Sep-04 13:47 
GeneralRe: Flickering problem Pin
Jason De Arte21-Sep-04 12:57
Jason De Arte21-Sep-04 12:57 
GeneralRe: Flickering problem Pin
Jörgen Sigvardsson21-Sep-04 13:23
Jörgen Sigvardsson21-Sep-04 13:23 
GeneralJavaScript access to Toolband Pin
mvarvil15-Sep-04 13:24
mvarvil15-Sep-04 13:24 
GeneralRe: JavaScript access to Toolband Pin
Michael Dunn16-Sep-04 9:31
sitebuilderMichael Dunn16-Sep-04 9:31 
Generalplease help Pin
andy_cn14-Sep-04 21:52
andy_cn14-Sep-04 21:52 
Generalpls help Pin
ThatsAlok14-Sep-04 1:15
ThatsAlok14-Sep-04 1:15 
GeneralRe: pls help Pin
User 21559721-Sep-04 2:12
User 21559721-Sep-04 2:12 
GeneralRe: pls help Pin
ThatsAlok21-Sep-04 18:46
ThatsAlok21-Sep-04 18:46 
GeneralRe: pls help Pin
User 21559722-Sep-04 1:42
User 21559722-Sep-04 1:42 
QuestionUse gifs in resources? Pin
LukeV13-Sep-04 15:48
LukeV13-Sep-04 15:48 
GeneralDraw subitem in SysListView32 Pin
qur13-Sep-04 8:12
qur13-Sep-04 8:12 
GeneralRe: Draw subitem in SysListView32 Pin
Michael Dunn13-Sep-04 8:50
sitebuilderMichael Dunn13-Sep-04 8:50 
GeneralRe: Draw subitem in SysListView32 Pin
qur13-Sep-04 11:44
qur13-Sep-04 11:44 
GeneralRe: Draw subitem in SysListView32 Pin
Michael Dunn13-Sep-04 13:25
sitebuilderMichael Dunn13-Sep-04 13:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.