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
N

netx2003

@netx2003
About
Posts
15
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • System's Color Palette
    N netx2003

    Thanks, just what I was looking for.

    C / C++ / MFC question workspace

  • Going Crazy (How to Install a Font)
    N netx2003

    Hello, I am writing an small setup program and I need to install some fonts. I had look in MSDN and in many other places, but I can’t find the solution. AddFontResource works but only on the current session after a reboot the font is gone. I also tried CreateScalableFontResource with AddFontResource but I can’t get it to work. I copy the ttf font file to the windows fonts folder and it does not work. Here is a sample function: //sFontFileName = Is the name of the font file Ex: arial.ttf will be arial //sFontLocation = Is the current location of the ttf file Ex: D:\setup\fonts\ //GetWindowsFolder() = return the windows folder Ex: c:\windows\ void InstallFont(CString sFontFileName, CString sFontLocation){ CString sFontResource(GetWindowsFolder() + sFontFileName + ".fot"); CString sWinFonts(GetWindowsFolder() + "Fonts\\" + sFontFileName + ".ttf"); ::CopyFile(sFontLocation + sFontFileName + ".ttf", sWinFonts, TRUE); CreateScalableFontResource(0, sFontResource, sWinFonts, NULL); AddFontResource( sFontFileName + ".fot" ); } If you have any ideas please help. An example will be perfect. Thanks.

    C / C++ / MFC tutorial help workspace

  • System's Color Palette
    N netx2003

    Hello, I am looking for a way to detect the system's color palette( On XP color quality). This is setup on the Display Properties at the settings tab. I need to know if the computer is running using "16 Color", "255 Color", "16 Bit" and so on. Any ideas?

    C / C++ / MFC question workspace

  • Navigation Bars
    N netx2003

    I am new to website design and I have a question. I see the websites like this one (codeproject.com) that they keep the top, left and bottom navigation bars the same from one page to the other. Almost all of this sites use ASP so I can not see the code because it is executed and I only see the final output. The way that I am doing that at this time is using frames or copying the code for the navigation bars in each page. Can any one tell me which is the best way (not the easiest way, but the best:omg:) to do this? SSI / ASP ???:confused:

    Web Development question com design

  • Create/Remove Users on Win2000 Server
    N netx2003

    Is there any way that I using code can add and remove users on Windows 2000 Server.

    C / C++ / MFC sysadmin

  • HP Mobile Printing SDK for PocketPC
    N netx2003

    Hello, I am using the HP Mobile Printing SDK for PocketPC to print from an application that I am developing. The PrintJob function works perfect, but I need to do my owe rendering and I am trying to use the function CreatePrinterContext () . That function return a Window HDC that I was trying to use like in a regular MFC App attaching it to a CDC where I can call the functions StartDoc, StartPage and so on, but those function are not available on the CE version of MFC since all the printing support was remove from it. Now I have no idea of how to use the Window HDC to print and I can not find any example on the web and HP will charge me $125 for support. This is a quote from their help file: CreatePrinterContext creates a device (printer) context describing the target properties so that an application can render into it. Currently, only direct-based printers are supported. Service-based printers will not be available to the user when the application uses this method of printing. On PocketPC, MPRINT_DC is a Windows HDC and can be used as one. If you have any idea of how to do it please let me know.

    Mobile tutorial c++ help announcement

  • Grouping on Taskbar?
    N netx2003

    Yes

    C / C++ / MFC help question

  • Grouping on Taskbar?
    N netx2003

    Payroll Reports

    C / C++ / MFC help question

  • Hide Frame from task bar
    N netx2003

    Hello, I have an application that starts with a CListView on the list view the user can click on items and then another frame will show but this time with a CFormView. The user can have more than one CFormView open at any time. Since the user can have more than one CFormView open I don't want them to show on the task bar. Any help on show to do this. I found an example but it disables the main view and I need that view active.

    C / C++ / MFC help tutorial

  • Grouping on Taskbar?
    N netx2003

    Hello, I have an application that show multiples forms. They show ok on the task bar with but when there is not more space on the taskbar WinXP group them together and them the name that shows on the taskbar is CMYApp instead of the application title. I don’t have a problem with the grouping but I will like to show the title of my application not CMyApp. Any ideas?

    C / C++ / MFC help question

  • ESC Key on a CFormView
    N netx2003

    Thank for the help. I had a problem in my code: MSDN Library: PRB: Modal Dialog Box Prevents Calls to PreTranslateMessage ID: Q126874

    C / C++ / MFC question

  • ESC Key on a CFormView
    N netx2003

    PreTranslateMessage is never called on the CFormView

    C / C++ / MFC question

  • ESC Key on a CFormView
    N netx2003

    I have a CFormView and I need to capture the ESC key. The control the has the focus always receive the OnChar but the form never does. I don't want to use an Accelerator nor any code on the controls. Any Ideas?

    C / C++ / MFC question

  • leaked GDI objects!
    N netx2003

    How do I check for leaked GDI objects?

    C / C++ / MFC question graphics

  • Drawing ( CView )
    N netx2003

    Hello, I have a VC++6(MFC) Application which is giving me a problem in Windows98/ME, but not on XP or 2000. The App has a CView that I use to draw on the screen OnDraw(CDC* pDC). I read information for an access database using ado and from that information I draw a chart on the screen. It runs five on XP/2000 but on 98 after a while or many call to the OnDraw functions it freezes and all the bitmaps that I am drawing on the screen don’t show anymore when I try to open a dlg it show a message box saying “A required resource was”. Any help will be appreciated. Thank You, Alfred

    C / C++ / MFC c++ help database graphics learning
  • Login

  • Don't have an account? Register

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