Click here to Skip to main content
15,888,968 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
bioan31-Mar-10 10:22
professionalbioan31-Mar-10 10:22 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
Chris Losinger31-Mar-10 10:30
professionalChris Losinger31-Mar-10 10:30 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
bioan31-Mar-10 10:37
professionalbioan31-Mar-10 10:37 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
bioan31-Mar-10 10:59
professionalbioan31-Mar-10 10:59 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
Chris Losinger31-Mar-10 16:42
professionalChris Losinger31-Mar-10 16:42 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
bioan1-Apr-10 22:50
professionalbioan1-Apr-10 22:50 
GeneralRe: How to extract the bitmap (HBITMAP) from a BITMAPINFOHEADER variable? Pin
Chris Losinger2-Apr-10 1:15
professionalChris Losinger2-Apr-10 1:15 
QuestionGetRegValue and using it correctly, need help. Pin
rbwest8631-Mar-10 7:08
rbwest8631-Mar-10 7:08 
Ok, so after trying for hours on end to get things working correctly I am posting here.

I am new to programming and trying to learn. Please provide me with clarification of how I have this screwed up. Also, please include how I can fix this. I learn through practicals.

Also, I have changed things so many times trying to call the function correctly with assigning the correct arguments but I am just so confused at this point I am asking for help.
#define _WIN32_WINNT (0x0601)
#include <windows.h>
#include <winbase.h>
#include <winreg.h>
#include <iostream>
#include <iomanip>
using namespace std;

int main()
{
// REGISTRY PORTION
    DWORD pdwQuotaAllowed, pdwQuotaUsed;
    GetSystemRegistryQuota(&pdwQuotaAllowed, &pdwQuotaUsed);

// Backup Current Registry
// Open Registry Key (RegGetValue)
   DWORD dwFlags;
   RegGetValue(&dwFlags);
// Delete Contents of the Key (RegDeleteValue)
// Write New Content of the key (RegSetValueEx)
// Close Registry Handle (RegCloseKey)

    
    
    
// DISPLAY RESULTS
    cout << pdwQuotaAllowed << endl; 
    cout << pdwQuotaUsed << endl;
return 0;
}

AnswerRe: GetRegValue and using it correctly, need help. Pin
Richard MacCutchan31-Mar-10 7:31
mveRichard MacCutchan31-Mar-10 7:31 
QuestionAlways on top Pin
trioum31-Mar-10 7:01
trioum31-Mar-10 7:01 
AnswerRe: Always on top Pin
Graham Breach31-Mar-10 7:28
Graham Breach31-Mar-10 7:28 
AnswerRe: Always on top Pin
Richard MacCutchan31-Mar-10 7:33
mveRichard MacCutchan31-Mar-10 7:33 
QuestionCListCtrl won't update as expected Pin
Vaclav_31-Mar-10 5:56
Vaclav_31-Mar-10 5:56 
AnswerRe: CListCtrl won't update as expected Pin
Code-o-mat31-Mar-10 6:14
Code-o-mat31-Mar-10 6:14 
GeneralRe: CListCtrl won't update as expected Pin
Vaclav_31-Mar-10 6:39
Vaclav_31-Mar-10 6:39 
GeneralRe: CListCtrl won't update as expected Pin
Maximilien31-Mar-10 6:54
Maximilien31-Mar-10 6:54 
GeneralRe: CListCtrl won't update as expected Pin
David Crow31-Mar-10 7:56
David Crow31-Mar-10 7:56 
GeneralRe: CListCtrl won't update as expected Pin
Code-o-mat31-Mar-10 10:31
Code-o-mat31-Mar-10 10:31 
GeneralRe: CListCtrl won't update as expected Pin
Vaclav_31-Mar-10 14:05
Vaclav_31-Mar-10 14:05 
AnswerRe: CListCtrl won't update as expected Pin
Maximilien31-Mar-10 6:45
Maximilien31-Mar-10 6:45 
GeneralRe: CListCtrl won't update as expected Pin
Vaclav_31-Mar-10 7:13
Vaclav_31-Mar-10 7:13 
AnswerRe: CListCtrl won't update as expected Pin
krmed31-Mar-10 7:05
krmed31-Mar-10 7:05 
GeneralRe: CListCtrl won't update as expected SOLVED with a hack Pin
Vaclav_31-Mar-10 7:30
Vaclav_31-Mar-10 7:30 
GeneralRe: CListCtrl won't update as expected SOLVED with a hack Pin
Maximilien31-Mar-10 7:34
Maximilien31-Mar-10 7:34 
GeneralRe: CListCtrl won't update as expected SOLVED with a hack Pin
Vaclav_31-Mar-10 7:44
Vaclav_31-Mar-10 7:44 

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.