コード例 #1
0
TListViewCtrl::TListViewCtrl(TWindow* parent, int resourceId, TModule* module)
:
  TControl(parent, resourceId, module)
{
  if (!TCommCtrl::IsAvailable())
    throw TXCommCtrl();
}
コード例 #2
0
TListViewCtrl::TListViewCtrl(TWindow* parent, int id, int x, int y, int w, int h, TModule* module)
:
  TControl(parent, id, 0, x, y, w, h, module)
{
  if (!TCommCtrl::IsAvailable())
    throw TXCommCtrl();

  Attr.ExStyle |= WS_EX_CLIENTEDGE;
}
コード例 #3
0
//
/// Constructs a TXCommCtrl exception from scratch, and throws it.
//
void
TXCommCtrl::Raise()
{
  TXCommCtrl().Throw();
}