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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
Q

Qwick Miller

@Qwick Miller
About
Posts
11
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Storing windows positions in registry???
    Q Qwick Miller

    Is your main app a MDI? if so then you should think about either using a different class for each logForm or keep track of the enumerated child form by using: Form* mdiChild[] = this->get_MdiChildren(); for (int x =0; x < this->MdiChildren->Length;x++){ store the form using x } there maybe a better way other, but this is what I can only think of.

    Managed C++/CLI windows-admin tutorial question

  • Dragging a borderless Form....
    Q Qwick Miller

    Here's the solution: http://www.codeproject.com/csharp/CustomForms.asp[^] Point mouse_offset; .._MouseDown(..., System::Windows::Forms::MouseEventArgs * e) { mouse_offset = Point(-e->get_X(), -e->get_Y()); } .._MouseMove(..., System::Windows::Forms::MouseEventArgs * e) { if (e->Button == MouseButtons::Left){ Point mousePos = this->get_MousePosition(); mousePos.Offset(mouse_offset.X, mouse_offset.Y); this->set_Location(mousePos); } }

    Managed C++/CLI question graphics

  • Dragging a borderless Form....
    Q Qwick Miller

    Would you show me some code examples?

    Managed C++/CLI question graphics

  • Dragging a borderless Form....
    Q Qwick Miller

    I have my Form borders set to "none", because I am using a bitmap for my background. How do I drag the Form so the user can move the Form?

    Managed C++/CLI question graphics

  • MDI - Accessing MDI parents public variables.
    Q Qwick Miller

    Thanks for the link to those disscusions. I was able to solve my problem. This method allows me to use the MFC document view method. I use a __gc class as my ducument interface between my Main and child Forms. Cool!...

    Managed C++/CLI question

  • MDI - help w/image background
    Q Qwick Miller

    I have a MDI app and I want to have a image in the client area. I can't use the Picture control because it hides the MDIchild Forms. I tried to send the Picture control to the back after I display the child form, but it disappears. Even when I use just the image background the image dose not display. Can anyone help me with this? Thanks.....

    Managed C++/CLI help question

  • MDI - Accessing MDI parents public variables.
    Q Qwick Miller

    I have a MDI. I created four Forms that I use as child Forms (not Forms *form = new Forms() and then init the MDIParent property). I'm haviing trouble trying to find out how I can access public variables of the MDI parent from the child Forms. The MainForm has the include .h files of all my Forms I am using, but when I include the MainForm.h in the child Forms I get compiler errors in: MainForm: ChildForm1 is undeclared.... ChildForm: missing ';' before '*' (referring to MainForm *parent) How do I properly access my public variable in the parent? Thanks!...

    Managed C++/CLI question

  • Help: change the 'Resource File Name' property
    Q Qwick Miller

    I changed the Form1 class name using the Property dialog box, because I thought this would properly rename the resources also as it is mention in the header file: /// WARNING: If you change the name of this class, you will need to change the /// 'Resource File Name' property for the managed resource compiler tool /// associated with all .resx files this class depends on. Otherwise, /// the designers will not be able to interact properly with localized /// resources associated with this form. ...but it didn't. This is the exception I get when I try to run it in the debugger: An unhandled exception of type 'System.Resource.MissingManifestResource' occured in mscorlib.dll Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the assembly. Make sure "FormName.resources" was correctly embedded or linked into assembly "MdiApp". ...so how do I make these changes?

    Managed C++/CLI question hardware debugging help learning

  • Help with type &quot;ref&quot;......
    Q Qwick Miller

    Yea your correct!... I must have define my variable wrong, because when I tried it that way before I keep getting an compiler error. Now it is working. Thanks!...

    Managed C++/CLI question csharp c++ com help

  • Help with type &quot;ref&quot;......
    Q Qwick Miller

    I am using a ActiveX component that requires a "ref" to a Object like this: Encrypt(ref object vaSource, bool bEndOfData); To use this function in C# you do this: object vaSource = "This is text"; object encryptedData = encrypt.Encrypt( ref vaSource, true ); What is the equivalent to "ref" in MC++?

    Managed C++/CLI question csharp c++ com help

  • Trouble with a Access Db w/password......
    Q Qwick Miller

    When I set a password to my access db. myCon = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=db.mdb;Password=password"); myCon->Open(); I get a exception error. "The workgroup information file is missing or opened exclusively by another user" ..but when I remove it, it open ok. What other param's I need to set in order to open a password protected access db?

    Database database help 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