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
H

Hydralisk

@Hydralisk
About
Posts
9
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Commemorate the "9.18 Incident"
    H Hydralisk

    http://english.peopledaily.com.cn/200107/10/eng20010710_74590.html[^] Thinking in difference!

    The Lounge html com

  • How can I check whether the folder is exist or not?
    H Hydralisk

    _access() can Determine file-access permission. Return Value Each of these functions returns 0 if the file has the given mode. The function returns –1 if the named file does not exist or is not accessible in the given mode; in this case, errno is set as follows: EACCES Access denied: file’s permission setting does not allow specified access. ENOENT Filename or path not found. Thinking in difference!

    C / C++ / MFC c++ question

  • Program location in memory
    H Hydralisk

    It's the operating system who load the program to memory, not program itself. You can appoint a base address when you compile a program. System try to load program on that address, if failed, it load program by it's own rule.Access other process's memory also has it's own rule. I suggest you read about the book <> by Jeffrey Richter.I thought there you can find the answer you want. Thinking in difference!

    C / C++ / MFC performance tutorial question

  • dynamic button ...
    H Hydralisk

    Your button object is define as a local variable,try to define a member variable to do this. Thinking in difference!

    C / C++ / MFC c++ help tutorial

  • How to set a file read only and hide attribute?
    H Hydralisk

    SetFileAttributes The SetFileAttributes function sets a file's attributes. BOOL SetFileAttributes( LPCTSTR lpFileName, // file name DWORD dwFileAttributes // attributes ); Parameters lpFileName [in] Pointer to a string that specifies the name of the file whose attributes are to be set. Windows NT/2000: In the ANSI version of this function, the name is limited to MAX_PATH characters. To extend this limit to nearly 32,000 wide characters, call the Unicode version of the function and prepend "\\?\" to the path. For more information, see File Name Conventions. Windows 95/98: This string must not exceed MAX_PATH characters. dwFileAttributes [in] Specifies the file attributes to set for the file. This parameter can be one or more of the following values. However, all other values override FILE_ATTRIBUTE_NORMAL. Attribute Meaning FILE_ATTRIBUTE_ARCHIVE The file is an archive file. Applications use this attribute to mark files for backup or removal. FILE_ATTRIBUTE_HIDDEN The file is hidden. It is not included in an ordinary directory listing. FILE_ATTRIBUTE_NORMAL The file has no other attributes set. This attribute is valid only if used alone. FILE_ATTRIBUTE_NOT_CONTENT_INDEXED The file will not be indexed by the content indexing service. FILE_ATTRIBUTE_OFFLINE The data of the file is not immediately available. This attribute indicates that the file data has been physically moved to offline storage. This attribute is used by Remote Storage, the hierarchical storage management software in Windows 2000. Applications should not arbitrarily change this attribute. FILE_ATTRIBUTE_READONLY The file is read-only. Applications can read the file but cannot write to it or delete it. FILE_ATTRIBUTE_SYSTEM The file is part of the operating system or is used exclusively by it. FILE_ATTRIBUTE_TEMPORARY The file is being used for temporary storage. File systems attempt to keep all of the data in memory for quicker access rather than flushing the data back to mass storage. A temporary file should be deleted by the application as soon as it is no longer needed. Return Values If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Remarks The following table describes how to set the attributes that cannot be set using SetFileAttributes. Attribute How to Set FILE_ATTRIBUTE_COMPRESSED To set a file's compression state, use the DeviceIoControl function with the FSCTL_SET_CO

    C / C++ / MFC tutorial question

  • how can i do it?
    H Hydralisk

    I think MoveWindow() can do this! In vckbase I also found your question!:-O

    C / C++ / MFC question

  • Problem changing styles in CListView
    H Hydralisk

    DWORD dwStyle; dwStyle=::GetWindowLong(this->m_hWnd,GWL_STYLE); dwStyle|=LVS_REPORT; ::SetWindowLong(this->m_hWnd,GWL_STYLE,dwStyle); To change extent style,use GWL_EXSYTLE. Hope it helps you!

    C / C++ / MFC csharp c++ visual-studio wpf help

  • how to access C..Doc var. from any class ?
    H Hydralisk

    I think your applcation is a base on MDI,so you must invoke GetActiveFrame.and mine is base on SDI,so....

    C / C++ / MFC help tutorial question

  • how to access C..Doc var. from any class ?
    H Hydralisk

    CTtDoc *pDoc=(CTtDoc *)((CMainFrame *)AfxGetApp()->m_pMainWnd)->GetActiveDocument();

    C / C++ / MFC help 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