Click here to Skip to main content
16,008,942 members
Home / Discussions / C#
   

C#

 
GeneralRe: Background Image for ToolBar... Pin
Heath Stewart26-Feb-04 4:20
protectorHeath Stewart26-Feb-04 4:20 
GeneralRe: Background Image for ToolBar... Pin
Weiye Chen26-Feb-04 19:20
Weiye Chen26-Feb-04 19:20 
GeneralRe: Background Image for ToolBar... Pin
Heath Stewart27-Feb-04 2:52
protectorHeath Stewart27-Feb-04 2:52 
GeneralRe: Background Image for ToolBar... Pin
Weiye Chen27-Feb-04 17:48
Weiye Chen27-Feb-04 17:48 
GeneralRe: Background Image for ToolBar... Pin
Weiye Chen28-Feb-04 2:47
Weiye Chen28-Feb-04 2:47 
GeneralRe: Background Image for ToolBar... Pin
Heath Stewart28-Feb-04 3:39
protectorHeath Stewart28-Feb-04 3:39 
Generalform_load is not suitable Pin
hazzem elrefai25-Feb-04 20:48
hazzem elrefai25-Feb-04 20:48 
GeneralRe: form_load is not suitable Pin
Heath Stewart26-Feb-04 3:54
protectorHeath Stewart26-Feb-04 3:54 
It's worked for me in the past to simply override the Form.OnHandleCreated method (it's better to override in derived classes than handle events) for ActiveX controls using something like:
public class MyForm : Form
{
  // ...
  protected override void OnHandleCreated(EventArgs e)
  {
    base.OnHandleCreated(e); //
    // Put your initialization code here and add it to the Controls property
  }
}
The ActiveX control will most likely require a window handle (HWND) in which to be sited (parented). Calling base.OnHandleCreate first makes sure that everything is set up correctly. This handler is called by CreateHandle after creating the handle.

It's possible that the DSOFramer requires something different, though. You should check the Microsoft KB[^] or any existing product site for that control for specifics.

 

Microsoft MVP, Visual C#
My Articles
GeneralSET SYSTEM TIME Pin
POKRI25-Feb-04 19:53
POKRI25-Feb-04 19:53 
GeneralRe: SET SYSTEM TIME Pin
Heath Stewart26-Feb-04 3:38
protectorHeath Stewart26-Feb-04 3:38 
General, Pin
Anonymous25-Feb-04 19:36
Anonymous25-Feb-04 19:36 
GeneralAnybody know whether ASP.NET ADO.NET and C# can be Pin
DengJW25-Feb-04 16:39
DengJW25-Feb-04 16:39 
GeneralRe: Anybody know whether ASP.NET ADO.NET and C# can be Pin
John Kuhn25-Feb-04 18:22
John Kuhn25-Feb-04 18:22 
GeneralRe: Anybody know whether ASP.NET ADO.NET and C# can be Pin
Verdant12325-Feb-04 18:45
Verdant12325-Feb-04 18:45 
GeneralRe: Anybody know whether ASP.NET ADO.NET and C# can be Pin
John Kuhn25-Feb-04 19:00
John Kuhn25-Feb-04 19:00 
GeneralRe: Anybody know whether ASP.NET ADO.NET and C# can be Pin
DengJW25-Feb-04 21:36
DengJW25-Feb-04 21:36 
GeneralRe: Anybody know whether ASP.NET ADO.NET and C# can be Pin
Heath Stewart26-Feb-04 3:08
protectorHeath Stewart26-Feb-04 3:08 
GeneralRe: Anybody know whether ASP.NET ADO.NET and C# can be Pin
Verdant12326-Feb-04 3:13
Verdant12326-Feb-04 3:13 
GeneralOpening form using remoting Pin
johnstacey25-Feb-04 14:19
johnstacey25-Feb-04 14:19 
GeneralRe: Opening form using remoting Pin
Heath Stewart26-Feb-04 3:11
protectorHeath Stewart26-Feb-04 3:11 
GeneralProblem with DataTable Pin
draco_iii25-Feb-04 14:15
draco_iii25-Feb-04 14:15 
GeneralRe: Problem with DataTable Pin
Meysam Mahfouzi25-Feb-04 17:21
Meysam Mahfouzi25-Feb-04 17:21 
Questionhow can I delete memory allocated by legacy C++ DLL Pin
JWT25-Feb-04 13:17
JWT25-Feb-04 13:17 
GeneralTransparent Image Pin
Verdant12325-Feb-04 12:28
Verdant12325-Feb-04 12:28 
GeneralRe: Transparent Image Pin
ian mariano25-Feb-04 12:35
ian mariano25-Feb-04 12:35 

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.