Click here to Skip to main content
15,902,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Two successive dialogs in a dlg app Pin
wb27-Oct-04 1:24
wb27-Oct-04 1:24 
GeneralRe: Two successive dialogs in a dlg app Pin
CaesarCZ27-Oct-04 1:38
CaesarCZ27-Oct-04 1:38 
GeneralRe: Two successive dialogs in a dlg app Pin
wb27-Oct-04 2:14
wb27-Oct-04 2:14 
GeneralRe: Two successive dialogs in a dlg app Pin
Antony M Kancidrowski27-Oct-04 2:25
Antony M Kancidrowski27-Oct-04 2:25 
GeneralRe: Two successive dialogs in a dlg app Pin
CaesarCZ27-Oct-04 3:05
CaesarCZ27-Oct-04 3:05 
General3D Pipe Graph creation in VC++(MFC) Pin
Venkata Krishnan Naidu27-Oct-04 0:49
Venkata Krishnan Naidu27-Oct-04 0:49 
GeneralDiskQuotaControl Pin
std770227-Oct-04 0:47
std770227-Oct-04 0:47 
GeneralRe: DiskQuotaControl Pin
David Crow27-Oct-04 3:01
David Crow27-Oct-04 3:01 
std7702 wrote:
I found the IDiskQuotaControl interface...but I'm not sure how to use it properly (there are no examples in the msdn). Can anyone help me with this?

How about:

HRESULT             hr;
IDiskQuotaControl   *pIDiskQuotaControl;
 
hr = CoInitialize(NULL);
if (SUCCEEDED(hr))
{
    hr = CoCreateInstance(CLSID_DiskQuotaControl, NULL, CLSCTX_INPROC_SERVER, IID_IDiskQuotaControl, (void **) &pIDiskQuotaControl);
    if (SUCCEEDED(hr))
    {
        ...
        pIDiskQuotaControl->Release();
    }
 
    CoUninitialize();
}



"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow


GeneralRe: DiskQuotaControl Pin
std770228-Oct-04 1:34
std770228-Oct-04 1:34 
Generalactivex ctrl in modeless dialog Pin
sarath_babu27-Oct-04 0:28
sarath_babu27-Oct-04 0:28 
GeneralRe: activex ctrl in modeless dialog Pin
Cedric Moonen27-Oct-04 1:25
Cedric Moonen27-Oct-04 1:25 
Generalactivex ctrl in modeless dialog Pin
sarath_babu27-Oct-04 0:27
sarath_babu27-Oct-04 0:27 
GeneralCFile Pin
vc-programmer-26-Oct-04 22:28
vc-programmer-26-Oct-04 22:28 
GeneralRe: CFile Pin
ytod26-Oct-04 22:44
ytod26-Oct-04 22:44 
GeneralRe: CFile Pin
vc-programmer-26-Oct-04 22:59
vc-programmer-26-Oct-04 22:59 
GeneralRe: CFile Pin
vcplusplus27-Oct-04 3:10
vcplusplus27-Oct-04 3:10 
Generalimplicit pointer conversion Pin
pesho293226-Oct-04 21:55
pesho293226-Oct-04 21:55 
GeneralRe: implicit pointer conversion Pin
geo_m26-Oct-04 23:14
geo_m26-Oct-04 23:14 
GeneralRe: implicit pointer conversion Pin
pesho293227-Oct-04 0:13
pesho293227-Oct-04 0:13 
GeneralEnableWindow in vc++ Pin
vc-programmer-26-Oct-04 21:24
vc-programmer-26-Oct-04 21:24 
GeneralRe: EnableWindow in vc++ Pin
Cedric Moonen26-Oct-04 21:31
Cedric Moonen26-Oct-04 21:31 
GeneralRe: EnableWindow in vc++ Pin
vc-programmer-26-Oct-04 21:50
vc-programmer-26-Oct-04 21:50 
GeneralRe: EnableWindow in vc++ Pin
Cedric Moonen26-Oct-04 22:03
Cedric Moonen26-Oct-04 22:03 
GeneralRe: EnableWindow in vc++ Pin
vc-programmer-26-Oct-04 22:15
vc-programmer-26-Oct-04 22:15 
GeneralFind changed Control on Dialog. Pin
Sumit Kapoor26-Oct-04 20:59
Sumit Kapoor26-Oct-04 20:59 

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.