Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

mmica

@mmica
About
Posts
28
Topics
19
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CTreeCtrl and Checkboxes
    M mmica

    Hi all, I'm using a CTreeCtrl with checkboxes enabled and have two questions: 1. How can I query if a particular HTREE item has a checked checkbox or not 2. How can I be notified when checkboxes are checked/unchecked? Thanks :-) Mark

    C / C++ / MFC question database

  • CDialog in the Task Bar
    M mmica

    That was pretty easy :-) Thanks

    C / C++ / MFC tools question

  • CDialog in the Task Bar
    M mmica

    Hi all, I'm writing an application which incorporates a number of tools. Each tool is hosted in a CDialog class. Is it possible for a CDialog class to appear in the Task Bar? It's quite annoying having to minimize all other windows to find it. Mark

    C / C++ / MFC tools question

  • [Newbie] A button with a bitmap
    M mmica

    What do you mean?

    C / C++ / MFC graphics

  • [Newbie] A button with a bitmap
    M mmica

    Hi all, I'm trying to set up a simple dialog with a button that has a bitmap instead of text. From the dialog editor I set the "Bitmap" option for the button and in the OnInitDialog() method of the dialog, I did the following: m_button.SetBitmap(LoadBitmap(NULL, MAKEINTRESOURCE(IDB_PLAY))); The button appears but no bitmap. Anyhelp would be GREATLY appreciated :-) Mark

    C / C++ / MFC graphics

  • Debuging a service with VC++
    M mmica

    Hi all, I have written a simple service and would like to debug it with VC++. Is this possible? So far I have only managed to do it by installing a low-level debugger but that's a bit akward to use. Thanks, Mark

    C / C++ / MFC debugging c++ question

  • CListCtrl - Highlighting all of the selected row
    M mmica

    Hi all, I'm writing a simple dialog with a listbox in "report" mode. My problem is that in order for a user to select an item in the list, (s)he has to click on the 1st column in the list. Also, this will only highlight the first column and not the rest of the row. This is functional ofcourse but it would be nice the have the whole row highlited. Any help would be greatly appreciated :-) Mark

    C / C++ / MFC help json

  • Adding Items to CTabCtrl
    M mmica

    Hi all, I am using AddItem() to add tabs to a CTabCtrl but don't know how to actually add content to each tab. Can I just design dialogs or PropPages from the resources and load them into a tab? Mark

    C / C++ / MFC design tutorial question

  • Displaying CPropertySheet in a Dialog
    M mmica

    But I need to add a tree control outside the property sheet and have nodes on the tree add/remove pages from the property sheet accordingly. I think this can't be done with the CPropertySheet as a main window. Will look at the examples tho. Thanks :-)

    C / C++ / MFC c++ java help question

  • Displaying CPropertySheet in a Dialog
    M mmica

    Hi all, I'm kinda new to MFC and come from the world of Java so please bear with me. I have a dialog on which (amongst other things) I want to display a CPropertySheet (along with CPropertyPages ofcourse). Being the newbie that I am, I did the following: In the OnInit() method of my dialog I put down the following code: //m_ps is a member variable of type CPropertySheet m_ps.Construct("Test Property Sheet", this, 0); m_ps.SetWindowPos(this, 50,50,100,100, 0); m_ps.ShowWindow(SW_SHOW); This doesn't work (and also causes an assert). Can anyone help me out please?

    C / C++ / MFC c++ java help question

  • Knowing with Network Interface will be used
    M mmica

    Hi all, I am writing a system where a client communicates with a server and amongst other things tells the server what the client's IP and subnet mask are. However, when there are more than 1 network cards on a PC, how can I programmaticaly know which interface a packet is going to be sent on (for a particular destination)? I know how to get a list of interfaces and relevant details but don't know which one to use. Mark

    C / C++ / MFC sysadmin question tutorial

  • Layout Guidelines (Resizing)
    M mmica

    Hi all, :) In a dialog, is it possible to align a control with layout guidelines such that if the dialog is resized, the conrol is also resized accordingly? Mark

    C / C++ / MFC question

  • GHAAAAAAARGH!!! STATUS_ACCESS VIOLATION
    M mmica

    Hi all, I'm going out of my mind on this problem and would really appreciate some help. I am currently writing an NT service that has two threads running. One thread is at a point where it has to create a network message and send it over a socket. However, when I try to malloc some memory for a buffer I get an NT_STATUS_ACCESS_VIOLATION exception. The code looks simple enough to me: totlen = sizeof(BH_MESSAGE) + msglen; //This evaluates to 306 char* totbuf = (char *) malloc(totlen); Any ideas coz I'm really going :wtf: crazy Regards, Mark

    C / C++ / MFC help sysadmin performance

  • Filter Driver for File Operations
    M mmica

    Hi all, I've been assigned the task of writing a filter driver to intercept IO calls to storage devices and selectively allow (or dissallow) them through. I'm quite new to drivers so I was wondering if anyone could point me to a good starting point. Thanks for your help, Mark

    C / C++ / MFC help

  • Gaining Exclusive Access over a used volume
    M mmica

    Thanks... I will try that :-) This processing will take place at night so no users should be using the PCs in the office at that time. This is just a precautionary measure.

    C / C++ / MFC help question

  • Gaining Exclusive Access over a used volume
    M mmica

    Hi, I've written a small administration tool that does some processing on removable devices. The problem is I need to lock the volume before processing. I have managed to do this but only if noone is using the volume at the time when I am locking. Can I gain exclusive access over a volume and force other processes to not use it for a while? Mark

    C / C++ / MFC help question

  • Threads in Classes
    M mmica

    Worked wonderfuly. Thanks :-)

    C / C++ / MFC help question

  • Threads in Classes
    M mmica

    Hi all, When using the CreateThread within a class, is it possible to provide a method of the class as the lpStartAddress? m_hBroadcastThread = CreateThread(0,0, (LPTHREAD_START_ROUTINE)BroadcastThread, 0,0,&id); ... where BroadcastThread is the name of a method within the class. It's header is as follows: DWORD CNotificationsHandler::BroadcastThread(LPDWORD param) I keep getting the following compiler error: error C2440: 'type cast' : cannot convert from '' to 'unsigned long (__stdcall *)(void *)' Your help would be greatly appreciated. Mark

    C / C++ / MFC help question

  • Modeless Dialog Box
    M mmica

    Thanks... That makes perfect sense :-)

    C / C++ / MFC c++ tutorial question

  • Modeless Dialog Box
    M mmica

    Your code works fine. It was exactly the same as mine only you used a pointer to a dialog and I used an instance directly. Doesn't really make much sense to me but as long as it works, I'm happy right now ;-) Thanks for your help.

    C / C++ / MFC c++ tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups